SQL Prompt not working when using AAD - Universal with MFA authentication
MiikaNiemi
Posts: 2 New member
I updated to SSMS 19.0.2. and SQL Prompt didn't load table and column names etc. From the logs I discovered that there was a "110003;Invalid user or password"-error and server failed to load. I've used AAD - Universal with MFA authentication earlier and it seems it was causing the problem with SSMS 19.0.2. and SQL Prompt. I changed authentication to AAD - Password and SQL Prompt works now. Would like to use MFA though, could this be fixed?
Tagged:
Answers
If you look on the taskbar you should see an extra authentication window pop up once you click into the query in SSMS?
This is an issue the dev team are aware of and are currently looking into.
For the time being you will need to open this extra authentication window and select it. The team are aware of it and are looking into a resolution.
A related issue we're having seems to be a regression where suggestions aren't loaded when using AAD auth in a secondary tenant - e.g. the Azure SQL server is not in the user's primary tenant.
My team members can't use SQL Prompt at all as MFA is required and our identities are in one tenant, while all our Azure SQL servers are in a differnet tenant.
See post:
Suggestions not working with AzureSQL and Azure SQL Managed Instance with AAD and MFA — Redgate forums (red-gate.com)
Here's a log when trying to "refresh suggestions":
https://download.red-gate.com/checkforupdates/SQLPrompt/SQLPrompt_10.13.13.2147.exe
Thanks @ATurner
To get my prompt ability back in 19.3 I have had to downgrade to the above mentioned SQL Prompt v10.13.13.2147
It would be great to get a fix for this. You've made us reliant on this tool with it being great :-)
SSMS 19.3.4
SQLPrompt 10.14.14.8187
Authentication is using Microsoft Entra MFA to managed instances in Azure. I've been without a functioning SQL Prompt for a while now. Recently re-upped the license, but am beginning to ask "If I can 'manage' without it, why pay?" A question that's becoming harder to answer, as you might imagine, as the days without a fix go by.