用户 'NT AUTHORITY/ANONYMOUS LOGIN' Azure SQL 服务器登录失败

标签 azure azure-active-directory azure-sql-database azure-sql-server

我正在尝试使用我的 Azure Active Directory 帐户从 SSMS 登录 Azure SQL 服务器。 我已遵循此指南:Configure and manage Azure Active Directory authentication with SQL

我已将我的帐户添加为管理员: enter image description here

我的帐户也在 SQL 数据库的属性中显示为 Active Directory 管理员:

enter image description here

然后,我尝试使用 SSMS 和 Active Directory 身份验证登录: enter image description here

我使用我的帐户登录并收到 MFA 通知,但之后收到以下错误: enter image description here

欢迎任何提示。

最佳答案

您使用的是哪个 SSMS 版本?

如果您使用的是 SSMS 17.9,请尝试在 Options -> Connection Properties 中指定数据库名称并设置 AD 域。

enter image description here

恭喜,错误已经解决。

希望这有帮助。

关于用户 'NT AUTHORITY/ANONYMOUS LOGIN' Azure SQL 服务器登录失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57587687/

相关文章:

Azure SQL 数据仓库 Polybase 查询 Azure Data Lake Gen 2 返回零行

mysql - 如果连接到 Azure 的 Excel 工具保存在 OneDrive 上,我的团队是否必须连接到 ODBC?

azure - Azure Blob 存储是否有默认图像类型?

azure - 发布到 Azure Service Fabric 集群时出错

azure - 如何管理 Azure Durable Functions 的执行历史记录

Azure Ad 身份验证回复 url 包含 http 而不是带有 .netcore 中间件的 https - 如何强制执行 https?

Azure Active Directory 应用程序服务主体更新客户端 key

azure - 使用非管理员/Microsoft 帐户登录 Azure AD 时出现错误 AADSTS90093

tsql - 使用 freeTDS 错误 : Read from the server failed 连接到 SQL-Azure

sql-server - TempDB 已达到其大小配额 : How to increase size quota for tempDB on Azure SQL