Forum Discussion
REST API Add Group User PowerBIEntityNotFound
- 4 years ago
Well if you have configured the Service Principal as admin. Like this:
https://docs.microsoft.com/en-us/power-bi/admin/read-only-apis-service-principal-authentication
Then you can just use the Admin Requests of the API instead of that one from group. That will let you use any workspaces without added the Service Principal as Admin in the workspace.
I hope that helps
Hi. Just to be sure. Is the account you are using to authenticate added as Admin in all of the workspaces? that request will only work for the workspaces that the connected user is admin.
If you have an admin account and you don't want to be added in all of the workspaces you can use the admin section request for that. It should be this one: https://docs.microsoft.com/en-us/rest/api/power-bi/admin/groups-add-user-as-admin
I hope that helps,
- Anonymous4 years agoNot applicable
Hi ibarrau,
Thanks for the response. Regarding your question, I am trying to add a Service Principal to all workspaces and this is already authenticated as PBI admin. Hope this helps.
- ibarrau4 years agoSuper User
Well if you have configured the Service Principal as admin. Like this:
https://docs.microsoft.com/en-us/power-bi/admin/read-only-apis-service-principal-authentication
Then you can just use the Admin Requests of the API instead of that one from group. That will let you use any workspaces without added the Service Principal as Admin in the workspace.
I hope that helps
- Anonymous4 years agoNot applicable
Hi Ibarrau,
I saw your reply here on this forum and tried it however there is still error on my end.
Since this is not my post I created a new thread:
https://community.powerbi.com/t5/Service/ADF-to-Power-BI/m-p/2267026#M148454
Hope you can help me on my issue.
Thanks a lot!