We're trying to connect Power BI Desktop to our Snowflake instance using Azure Active Directory (AAD) Single Sign-on (SSO), and running into a snag. Our best guess at this time is that it's because we use multifactor authentication (MFA) in our AAD.
Preamble
- We followed the instructions from Microsoft at this link: https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-connect-snowflake
- And performed the prep work in Snowflake from this link: https://docs.snowflake.com/en/user-guide/oauth-powerbi.html
- We specified the snowflake server
contoso_dw.canada-central.azure.snowflakecomputing.com
and the warehouseDEV_WH
- We specified Direct Query because Import isn't supported (per https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-connect-snowflake)
- We validated that the user can log in to the snowflake UI directly using SSO
- We're using Power BI desktop release 2.88.1385.0 64-bit (Dec 2020) <-- latest release at the time of writing.
Problem
We verified that the user is able to connect directly to snowflake using AAD SSO with MFA. We validated that the server and warehouse specified are the same in the snowflake UI and in Power BI Desktop. We specify the Microsoft account when prompted for credentials in Power BI, and it does prompt for a login through Microsoft which appears to succeed. Despite all of the above, we receive the following error:
ODBC: ERROR [28000] Incorrect username or password was specified.
We noticed that this specific error is listed here https://docs.snowflake.com/en/user-guide/oauth-powerbi.html#error-messages, but we've dismissed this as a red herring because the user can login with the same AAD SSO credentials directly into the Snowflake web UI.
Our suspicion is that this is because of the MFA requirement on our AAD. Has anyone else experienced the same behavior? Can anyone verify if this is an MFA side effect?