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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Heena_9980400
Helper IV
Helper IV

Should we grant access the db access to users before publishing the reports in service

Hi Experts,

 

I have a doubt, we are using SQL DB as a data source for creating reports and we are having access to the database, After publishing to the power bi service, we will be sharing the reports with users, in this case do we have to grant the db access separately to the users or from service we sharing the reports so will they automatically getting access.

Please clarify this doubt and do the needfull.

 

Thanks & Regards,

Heena Kousar

1 ACCEPTED SOLUTION

They only need access to the db if they want to refresh the data. Even without db access they can see all the cached data in the PBIX. To prevent that you need to use PBIT files.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

It depends if you choose Import Mode or Direct Query Mode.  In Import Mode no user needs to be  granted access to the database. In Direct Query they do need to have access if you choose to enable single sign on in the gateway connection

lbendlin_0-1664052071532.png

 

Hi @lbendlin,

 Thanks for the response
I got your point if we are sharing the pbix from our local machine and the user will download and try to open it in this situation do they need access to DB?

 

Note- not publishing to workspace and not downloading from there, everything is happening at power bi desktop level only.

 

BR,

Kousar

They only need access to the db if they want to refresh the data. Even without db access they can see all the cached data in the PBIX. To prevent that you need to use PBIT files.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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