Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
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
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.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThe Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 55 | |
| 49 | |
| 44 | |
| 16 | |
| 16 |