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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
cstewrun
Regular Visitor

Powerbi.com not passing credentials to Snowflake

We are trying to use Snowflake security policies and user roles to allow our customers to only see their data through Power BI reports.
The issue is when our users access the published report in powerbi.com, the credentials used in Snowflake are the same login that was used to publish the report and dataset file.

Our configuration is:

  • Using Azure SSO through active directory and scim.
  • Created security integration between Azure and Snowflake.
  • Snowflake is IP secured and running in AWS. Powerbi.com IPs have been included in the policy.
  • We have separate report and dataset files that are published to powerbi.com.
  • Users are granted viewer access to the report only.
  • We are using PowerBI direct query to query Snowflake live.

Observations so far:

  • Logins per email are being created in Snowflake.
  • Users are getting an email notice that they have access to the report.
  • All Snowflake queries are executing as the same user that published the report.

Any thoughts on what we are missing to have the user queries run with their corresponding Snowflake login?

1 ACCEPTED SOLUTION

For users in the our domain their queries run without issue using their login.  When testing customer access where their email domain would be outside (gmail, etc), those users have a login we can see in snowflake but get credentials error in powerbi.com trying to run a report.  We have tested with all (external and internal) having the same SF roles and default warehouse.  When looking at login attempts we do not see the external test user even attempting to login.

View solution in original post

7 REPLIES 7
GilbertQ
Super User
Super User

Hi @cstewrun 

 

Could you confirm that you have set up the data source as shown below.

 

GilbertQ_0-1699481665065.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Yes it is set up like your image.

I am sorry had a miscommunication with a co worker, we were set to "public" for privary level.  We now have changed to "Organizational" and get this error when trying to retrieve data:image (6).png

Hi @cstewrun 

 

I would suggest checking with your Snowflake admin that the calls are getting through to Snowflake?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I checked the snowflake logs and there was no failed logins during this time.

So you could see it getting to snowflake with the right user?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

For users in the our domain their queries run without issue using their login.  When testing customer access where their email domain would be outside (gmail, etc), those users have a login we can see in snowflake but get credentials error in powerbi.com trying to run a report.  We have tested with all (external and internal) having the same SF roles and default warehouse.  When looking at login attempts we do not see the external test user even attempting to login.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors