cancel
Showing results for 
Search instead for 
Did you mean: 
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 II
Super User II

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

View solution in original post

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
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.