Unable to acquire authorization token (ConnectionDlg.AadInteractiveAuthProvider) with "Azure Active Directoy - Universal with MFA" to Azure SQL server when SSMS is run as my privileged account

Dom-Su BoChum 20 Reputation points
2024-10-07T14:33:49.44+00:00

This works fine from another system, or if I log on to the laptop directly with my privileged account.

I need to run SSMS as my privileged account, because that's the only account that has been authorized to connect to our Azure SQL servers & databases. This requires MFA.

My laptop is running Win 11 Enterprise (10.0.0.22631), SSMS is version 19.1.56.0
SSMS Tools, options, Azure Cloud is set to use the system default browser and Web Account Manager.

When trying to connect from this laptop, i get the error below, and no MFA prompt (a webpage) ever pops up.
Any assistance is greatly appreciated.

===================================

Cannot connect to <someserver>.database.windows.net.

===================================

Unable to acquire authorization token (ConnectionDlg.AadInteractiveAuthProvider)


[snip]

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
8,437 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,493 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,825 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Dom-Su BoChum 20 Reputation points
    2024-10-08T14:27:41.1966667+00:00

    We managed to get this working: in SSMS, Tools, Options, Azure Services, Azure Cloud, we set both "Use system default web browser" and "Use Web Account Manager" to false.

    Thanks, anyway!


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

  3. Eric Nwaogwugwu 0 Reputation points
    2025-01-10T11:02:21.05+00:00

    I was able to get this working by turning off IPv6 in network adapters

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.