Forum Discussion
PowerBI Embedded Service Principal PowerBINotAuthorizedException with Viewer accesse
- 5 years ago
Hi
Because you can only be a Member or Admin to use Service Principal for Authentication methode
Embed content in your Power BI embedded analytics application - Power BI | Microsoft Docs
Hi Merry
I think this thread can help you out!
Solved: Embedding Service principle AppOwnsData 401 Servic... - Microsoft Power BI Community
Hi Thanks for the response but the link you provided did not answered my question
1- I already toggling the Allow service principals in PowerBto access Power BI APIs setting to enabled
2- I created Azure Active directory Security Group and added My APID to it
3- Added this security group to my Workspace in Power BI
4- Gave Admin/member access
Everything works fine and i get my embeded report
My questions is why do I need to give Admin or Memebr access why cant i just give the Viewer or Contributer access to that security group? Viewer has read access and should be able to see the content of the report in power bI . Why do i need to give the higher access?
- aj19735 years agoCommunity Champion
Hi
Because you can only be a Member or Admin to use Service Principal for Authentication methode
Embed content in your Power BI embedded analytics application - Power BI | Microsoft Docs
- Merry5 years agoRegular Visitor
I saw this and that is why i set it to Admin/member but i dont understand why?