cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
mmossel
Microsoft
Microsoft

How to get an overview of all Power BI dataset owners and permissions

I know that within each workspace one can see permissions for datasets, dashboards, reports and apps. However, how you can you see it across the entire organization in one overview?

- who owns which Power BI datasets

- who has access to the underlying data (build permission)

2 ACCEPTED SOLUTIONS

I don't think so. You don't have any request to check the permission for an specific dataset. However you can get something that might help. If you get the datasets it should show the Group (workspace id). Then you can check the users involved in a workspace and their roles with the following request:

https://docs.microsoft.com/en-us/rest/api/power-bi/groups/getgroupusers

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

6 REPLIES 6
v-yalanwu-msft
Community Support
Community Support

Hi  @mmossel ;

Currently if your workspaces are using the new Workspaces (V2) you can do this via the Power BI API
https://docs.microsoft.com/en-us/rest/api/power-bi/admin/groups_getgroupsasadmin#get-workspaces-with...)
If the workspaces are on the classic (v1) workspace you cannot.

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ibarrau
Super User
Super User

Hi, there is no single place to check all of this in the portal. However you can get this data with the Power Bi Rest API. As admin you can get all datasets in tenant with their owners (configured by in the json response). There you have an example:
https://docs.microsoft.com/en-us/rest/api/power-bi/admin/datasets_getdatasetsasadmin

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

That's very helpful @ibarrau.

 

One follow-up question: with this Rest API, is it possible to see for each dataset not only the owner, but also which users have access/reshare/build permissions? I can't find it in the link you shared.

Thank you!

I don't think so. You don't have any request to check the permission for an specific dataset. However you can get something that might help. If you get the datasets it should show the Group (workspace id). Then you can check the users involved in a workspace and their roles with the following request:

https://docs.microsoft.com/en-us/rest/api/power-bi/groups/getgroupusers

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

You can use that one too. That might be better if your admin user is not in the workspace.

The request would also get the name of the users inside the workspace and their permission.

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors