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
What API are you trying to call? Some APIs like this https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result#:~:text=Must%20not%20be%20present%20when%20authentication%20via%20a%20service%20principal%20is%20used. one explicity state that Tenant.Read.All must not be set when using an SPN. So you should check the docs for the API you are trying to call.
Anonymous
3 years agoNot applicable
Thanks d_gosbell
We are trying to report on all workspace, dataset's and
datasource.
I looked writing this in powershell with admin access, it does seem that I need workspace access?
Any thoughts on the best approch.
Very new to powerbi
Many thanks