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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
mmossel
Employee
Employee

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors