Forum Discussion
Operation returned an invalid status code 'Unauthorized''
Hello,
Need help on the below error, I am trying to embed the Power BI report in Dot Net application.
Issue is raised at the below highlighted line in the code, not sure what is the issue. Please help
Error: Operation returned an invalid status code 'Unauthorized''
Regards
Nagaraj
- 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
10 Replies
- AnonymousNot applicable
Hi nagaraj ,
This error message seems to be caused by insufficient permissions or incorrect authentication.Please check the solution in the following threads, hope they can help you.
Unauthorized error 401 for power reports embedding
Authentication fail when embedded application
Embed content within your application
Best Regards
Rena
- nagarajPost Patron
Hi Anonymous
Have already given access to all API's to the registered app.
Not sure any specific requests i need to provide at workspace level.
Regards
Nagaraj- AnonymousNot applicable
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