Forum Discussion
Anonymous
3 years agoNot applicable
Powerbi Reports using SPN
Hi there, I'm trying to report on all workspace's, DataSets associated to a datasource in our tenant. We setup an spn with Tenant.Read.All delegated api permissions. The Allow service principal...
d_gosbell
3 years agoSuper User
So that API says here that it requires the Workspace.Read.All permission, but then this API only returns workspaces that the SPN has access to.
If you want all workspaces you should probably look at using this API https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-group-as-admin instead.
- Anonymous3 years agoNot applicable
Thanks, it's limited however. You need to enter a groupID (workspace id). It doesn't allow to expand the search.
for example, you can't add $top=500 parameter to call the workspaces for example.