Forum Discussion
Anonymous
7 years agoNot applicable
Embedding Service principle AppOwnsData 401 ServicePrincipalIsNotAllowedByTenantAdminSwitch
My set-up before starting work with Power BI Embedded was an Azure AD with a group that had a Workspace in the Power BI Service (app.powerbi.com) containing reports. To be able to embedd reports I ...
Anonymous
7 years agoNot applicable
You need to add your service principal in step 5
- Anonymous7 years agoNot applicable
I had done that, didn't make a difference. But I left that behind now and stuck with the powershell way of doing this which worked
- rafapaz056 years agoNew Member
Could you please share how did you fix the issue, i'm getting the same response back from the power bi apis "ServicePrincipalIsNotAllowedByTenantAdminSwitch"
I added the service principal as an admin to my workspace but it's still not working- Anonymous6 years agoNot applicable
I'm sorry but I don't remember, I think it was granting the User (service principal) permissions to the workspace https://docs.microsoft.com/en-us/rest/api/power-bi/groups/addgroupuser