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
I am using the REST API to get information on our environment.
Unfortunately I have a call (Get pages) that works for one workspace and report and not any other workspaces or reports.
Obviously this is some kind of permission issue.
Is there some report or method of comparing all the permissions across all workspaces and reports?
If so, I may be ale to spot the difference between the workging Workspace/report and no working workspace/reports.
Thx
In a prior role we used the REST API to get all of the workspace permissions. We used a service principal if I recall - it was given rights to read everything. When you do the API call, I think you have to feed it a list of workspace IDs in order to get data for all of them.
It'll let you get report permissions, but I didn't see anywhere in the API anything about sharing links ("anyone with the link can view"), so that complicates things.
Purview might have something... I'm not very familiar with it, but my understanding is it's supposed to be a governance tool for oversight into access to M365 resources so you might look into that as well.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!