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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mmossel
Microsoft Employee
Microsoft 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

mmossel
Microsoft Employee
Microsoft Employee

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors