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 75 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 Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Authenticator
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories


3 answers

Sort by: Most helpful
  1. Dom-Su BoChum 75 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!

    Was this answer helpful?

    10+ people found this answer helpful.

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

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

    Was this answer helpful?

    1 person found this answer helpful.

  3. 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

Your answer

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