Forum Discussion
Operation returned an invalid status code 'Unauthorized'
- Anonymous4 years ago
Hello,
Thanks for the reply, I did.
However when I create the app through Azure Active directory->App registrations it doesn't throw an error. When I create it directly from azure portal it doesn't work. Maybe it's organisation's security rules.
Hi Anonymous ,
Did you add "Content.Create" API permission to the application registered in AAD. A similar problem is addressed in this post, please refer to Solved: Operation returned an invalid status code 'Unautho... - Microsoft Power BI Community
Or you can follow the official article to do it.
Embed content in your Power BI embedded analytics application - Power BI | Microsoft Docs
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.