我正在尝试使用我的 Azure Active Directory 帐户从 SSMS 登录 Azure SQL 服务器。
我已经遵循了这个指南:使用 SQL 配置和管理 Azure Active Directory 身份验证 https://learn.microsoft.com/en-us/azure/sql-database/sql-database-aad-authentication-configure
I've added my account as an admin:
![enter image description here](https://i.stack.imgur.com/WUkDT.png)
我的帐户也在 SQL 数据库的属性中显示为 Active Directory 管理员:
Then, I try to log in with SSMS, with Active Directory authentication:
![enter image description here](https://i.stack.imgur.com/tryMi.png)
I login with my account and get the MFA notification, but after that I get the following error:
![enter image description here](https://i.stack.imgur.com/P4h4c.png)
欢迎任何提示。
您使用的是哪个 SSMS 版本?
如果您使用的是 SSMS 17.9,请尝试指定数据库名称并在中设置 AD 域Options
-> Connection Properties
.
恭喜你,错误已经解决了。
希望这可以帮助。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)