Azure SQL server Login failed for user 'NT AUTHORITY/ANONYMOUS LOGIN'

这一生的挚爱 提交于 2020-01-24 19:24:26

问题


I'm trying to log into an Azure SQL server from SSMS using my Azure active directory account. I've followed this guide: Configure and manage Azure Active Directory authentication with SQL

I've added my account as an admin:

And my account also shows up as the Active Directory admin in the properties of the SQL database:

Then, I try to log in with SSMS, with Active Directory authentication:

I login with my account and get the MFA notification, but after that I get the following error:

Any tips are welcome.


回答1:


Which SSMS version you are using?

If you are using SSMS 17.9, try specifying the db name and set AD domain in Options -> Connection Properties.

Congratulations that the error have be solved by this.

Hope this helps.




回答2:


This issue may be related to the Active Directory AD Syncing options. Maybe in your environment AD is not syncing passwords into the tenant. This prevents AD Integration Authentication, AD Universal Authentication with MFA and AD Password Authentication. The only authentication that works in this instance is AD Universal Authentication (no MFA).



来源:https://stackoverflow.com/questions/57587687/azure-sql-server-login-failed-for-user-nt-authority-anonymous-login

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!