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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Issue with Power BI service for SSO in snowflake

Hi Team,

 

I am able to connect Power BI desktop with snowflake using microsoft account however when I am trying to use SSO in power bi service using Oauth2, it is getting failed and showing some error. Could you please help on this.

 

Error detail - Failed to update data source credentials: The credentials provided for the Snowflake source are invalid. (Source at ma73496.us-east-

 

Regards,

Azad

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Though the error message on the PowerBI (PBI) UI mentions invalid credentials, the root cause of the issue is that the user logging in does not have the DEFAULT_ROLE set for it or the role name set does not have privileges/access to the Warehouse which is being set for use from PowerBI. 

Following are the points which need to be checked for this scenario: 

1. Check the user and verify if DEFAULT_ROLE is set for it. If it is not set, then run the following SQL query and make sure that the role is granted to the user:

alter user <username> set default_role=<rolename>; 


2. Check the Warehouse which is being used for the connection part and verify if the role assigned to the user has access to it. To verify this, run the following SQL:

show grants ON warehouse <WH Name>;

From the results here, check to see if the role assigned to the user has USAGE access to the Warehouse. 

 

For more details, you could read related document:

Power BI SSO to Snowflake | Snowflake Documentation,

Connect to Snowflake with Power BI - Power BI | Microsoft Learn

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

Though the error message on the PowerBI (PBI) UI mentions invalid credentials, the root cause of the issue is that the user logging in does not have the DEFAULT_ROLE set for it or the role name set does not have privileges/access to the Warehouse which is being set for use from PowerBI. 

Following are the points which need to be checked for this scenario: 

1. Check the user and verify if DEFAULT_ROLE is set for it. If it is not set, then run the following SQL query and make sure that the role is granted to the user:

alter user <username> set default_role=<rolename>; 


2. Check the Warehouse which is being used for the connection part and verify if the role assigned to the user has access to it. To verify this, run the following SQL:

show grants ON warehouse <WH Name>;

From the results here, check to see if the role assigned to the user has USAGE access to the Warehouse. 

 

For more details, you could read related document:

Power BI SSO to Snowflake | Snowflake Documentation,

Connect to Snowflake with Power BI - Power BI | Microsoft Learn

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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
Top Kudoed Authors