Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
SainathKrothap
New Member

Snowflake Connection to Power Bi Desktop Error

Hi Team, I trying to connect to Power Bi and Snowflake, but it is giving me this error, 

 

SainathKrothap_0-1757347267341.png

But I dont have any option to provide AUTH Code, can you please help me with this.

 

Thanks 

 

1 ACCEPTED SOLUTION
v-sshirivolu
Community Support
Community Support

Hi @SainathKrothap ,
The error is occurring because the Snowflake connector in Power BI Desktop does not support MFA or TOTP authentication codes, such as those from Google Authenticator. As a result, there is no option to enter an authentication code in the connector.

To address this, you can consider the following options:

Option 1 – Key-Pair Authentication (Recommended):

Generate an RSA key pair on your device.

Upload the public key to your Snowflake user profile using the appropriate SQL command.

In Power BI, connect to Snowflake and select Key-Pair Authentication.

Enter your private key and password.

Option 2 – SSO via Azure AD or Okta:
If your Snowflake environment is federated with Azure AD or Okta, you can connect using SSO. Power BI will redirect you to your organization’s login page, where MFA is managed automatically.

Option 3 – Service Account Without MFA:
You may request your Snowflake administrator to create a technical account without MFA specifically for BI or reporting purposes. You can then use the standard username and password credentials in Power BI, if permitted by your organization’s security policy.

In summary, Power BI does not support direct MFA code entry, so one of these alternative authentication methods will be required to connect successfully.

View solution in original post

6 REPLIES 6
v-sshirivolu
Community Support
Community Support

Hi @SainathKrothap ,
The error is occurring because the Snowflake connector in Power BI Desktop does not support MFA or TOTP authentication codes, such as those from Google Authenticator. As a result, there is no option to enter an authentication code in the connector.

To address this, you can consider the following options:

Option 1 – Key-Pair Authentication (Recommended):

Generate an RSA key pair on your device.

Upload the public key to your Snowflake user profile using the appropriate SQL command.

In Power BI, connect to Snowflake and select Key-Pair Authentication.

Enter your private key and password.

Option 2 – SSO via Azure AD or Okta:
If your Snowflake environment is federated with Azure AD or Okta, you can connect using SSO. Power BI will redirect you to your organization’s login page, where MFA is managed automatically.

Option 3 – Service Account Without MFA:
You may request your Snowflake administrator to create a technical account without MFA specifically for BI or reporting purposes. You can then use the standard username and password credentials in Power BI, if permitted by your organization’s security policy.

In summary, Power BI does not support direct MFA code entry, so one of these alternative authentication methods will be required to connect successfully.

Hi @SainathKrothap ,

I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you

 

Hi @SainathKrothap ,

I hope the information provided above assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.

 

Hi @SainathKrothap ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions

FarhanJeelani
Super User
Super User

Hi @SainathKrothap ,

That error means the Snowflake account you’re connecting to requires MFA with TOTP (the one‑time code from your authenticator). Power BI’s Snowflake connector doesn’t prompt for or accept a TOTP code, so you can’t complete the login with the default username/password flow when MFA is enforced by the IdP.

 

You’ll need to use an authentication method that doesn’t require a TOTP code, or get MFA disabled for that specific BI connection.

 

Use a non‑MFA authentication path for BI
Key pair authentication (RSA) for Snowflake

Why: No TOTP needed. You authenticate with a private key instead of a password.
How (high level):
Generate an RSA key pair (private key and public key).
In Snowflake, upload the public key to the BI user (ALTER USER BI_USER SET RSA_PUBLIC_KEY = '-----BEGIN PUBLIC KEY-----...').

 

Please mark this post as solution if it helps you. Appreciate Kudos.

Irwan
Super User
Super User

hello @SainathKrothap 

 

seems you are using an auntentication type that requires a password.

try to tap that edit button, perhaps it shows where to put in your authentication code.

 

if there is no field for code, try clearing permission in data source setting.

 

Thank you.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors