Forum Discussion
Power BI Embedding Unauthorized Error-SIMBA Application
I'm reaching out to seek assistance regarding an issue we're encountering while embedding Power BI into our SIMBA application. We are receiving the following error:
Microsoft.Rest.HttpOperationException: 'Operation returned an invalid status code 'Unauthorized'
Hii Anonymous
The Unauthorized error in Power BI embedding simply means your authentication or permissions are not set correctly. It happens only when required API permissions are missing, the wrong auth method is used (OAuth for internal users, Service Principal for external users), the Service Principal is not enabled in the Power BI Admin portal, the workspace does not give access to the Service Principal, or the Client ID / Tenant ID / Secret is incorrect or expired.These are the reason for the error you are seeing on your screen.
Below link show these steps in detail :
3 Replies
- rohit1991Super User
Hii Anonymous
The Unauthorized error in Power BI embedding simply means your authentication or permissions are not set correctly. It happens only when required API permissions are missing, the wrong auth method is used (OAuth for internal users, Service Principal for external users), the Service Principal is not enabled in the Power BI Admin portal, the workspace does not give access to the Service Principal, or the Client ID / Tenant ID / Secret is incorrect or expired.These are the reason for the error you are seeing on your screen.
Below link show these steps in detail :
- v-venuppuCommunity Support
Hi Anonymous ,
Thank you for reaching out to Microsoft Fabric Community.
Thank you rohit1991 for the prompt response.
I wanted to check if you had the opportunity to review the information provided and resolve the issue..?Please let us know if you need any further assistance.We are happy to help.
Thank you.
- AnonymousNot applicable
thank you somuch