Forum Discussion
Operation returned an invalid status code 'Unauthorized''
- Anonymous6 years ago
Hi nagaraj ,
Accoring to offical document, the account must be the admin of the related workspaces when you need to embeded report in the application. You can check the details in this documentation.
Best Regards
Rena
Hi nagaraj ,
Hope the following documentations can help you:
https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-troubleshoot#authentication
https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal
Best Regards
Rena
Hi Anonymous
Thanks for the help, there was some issue with Service Principle.
Resolved it and the issue got resolved. Thanks
REgards
Nagaraj
- Anonymous6 years agoNot applicable
Hi nagaraj ,
Thanks for your feedback. Could you please share your solution if it is convenient? Then the other members in the community also can solve their issue based on your solution if they face the similar issue with you. And could you please mark this thread as Answered since the issue has been resolved? Thanks a lot.
Best Regards
Rena
- nagaraj6 years agoPost Patron
Hi Anonymous
Since i have was using a new Service principle which was not having the access to TENANT's the issue was there.
Now i have all the privileges and resolved the issue.
Regards
Nagaraj
- dhwani5 years agoMicrosoft Employee
I am facing the same issue and can you help me on how you figured out that the service principal is not having access on the tenant.