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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mgaynor
Helper I
Helper I

Searching across all Workspaces (Admin)

Hello,

I have a user asking about access to a report in Power BI service but he's not sure of the owner or workspace.  How can I search for the report?  I am likely not a workspace user but I am a Power BI admin but not o365 admin  

 

Thanks,

Mike

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hi @mgaynor ,

 

Also try these APIs:

https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasets-as-admin .

https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-dataset-users-as-admin .

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
edhans
Super User
Super User

You could use the REST API for this. 
This will get all groups (workspaces) in your org.
Admin - Groups GetGroupsAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Then cycle through those using the following for the report itself.
Reports - Get Reports In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

If it is only in workspaces that user asking the question has access to, you could use this shorter list of workspaces based on the user.  Groups - Get Groups - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Either way, you'll need a bit of PowerShell knowledge to do the looping, or cheat like I do and create a few dozen concatenated strings using Excel to create the commands then paste that into a script.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors