Forum Discussion
Issues with PowerBI Service for auth in Snowflake
- 1 year ago
Hi Mxd24 - The issue you're encountering with Snowflake in Power BI likely stems from user permissions and the way Snowflake handles authentication and role-based access control.
The error message suggests that the Snowflake credentials for the affected user are either:
Invalid: The credentials provided (username/password) are incorrect.
Insufficient Privileges: The user's DEFAULT_ROLE in Snowflake or other assigned roles lack access to the required resources (e.g., database, schema, tables, or warehouse).Since you're using a composite model, Power BI is likely passing each user's credentials to Snowflake during query execution. This means each user must have appropriate access in Snowflake.
Yes, as long as you're using DirectQuery mode or composite models, every user must have appropriate access in Snowflake. Power BI does not cache the data but dynamically queries Snowflake using each user's credentials.
To avoid this:
You could switch to Import Mode, where only your credentials (as the report owner) are used to pull data. Users won't need Snowflake access, but they'll only see the data you imported at refresh time.
Hi Mxd24,
We wanted to kindly follow up to check if the solution provided by the super user for the issue worked.
If the issue is resolved, please mark the solution as Accept as solution to help the other members of the community find it more quickly. Don't forget to give a "Kudos" – I’d truly appreciate it!
Thank you for being a part of the Microsoft Fabric Community Forum!
Regards,
Anjan Kumar Chippa
Hi Mxd24,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the super user for the issue worked. If the issue is resolved, please mark the solution as Accept as solution to help the other members of the community find it more quickly. Don't forget to give a "Kudos" – I’d truly appreciate it!
Thank you for being a part of the Microsoft Fabric Community Forum!
Regards,
Anjan Kumar Chippa