Forum Discussion
leonids2005
3 years agoRegular Visitor
Problems with service principal profiles for multitenancy apps
I am trying to setup PowerBI embedded to work with service principal profiles with multi-tenant app. Trying to follow the documentation but there are many, not clear things, and here is what I have...
AmosHersch
3 years agoMicrosoft Employee
Hi leonids2005 ,
I suspect that the reason to the errors you've received is related to that statement which you couldn't fully understand.
When a regular user / Service principal wants to perform an operation in a workspace, for example import a report to a workspace, you have to first give him permissions (member/admin/...) to the workspace. So the same goes to the Service Principal Profile you've created. If he doesn't have permissions in the workspace then such operations are expected to fail.
So buttom line - I belive you're missing the step of adding the profile to the workspace.
Thanks,
Amos