Forum Discussion
401 while using user own data approach for the embedded report
Hi, raghavs280
You need to check whether adequate permissions were granted for the registered app in Azure Active Directory.
Please refer to the following threads.
unauthorized-error-401-for-power-reports-embedding
Best Regards,
Community Support Team _ Eason
Hi Team,
Thanks for the replying .
i am embedding for organization not for the customer one. i have provided the relevant permissions to the app in the azure active directory. As i said above i am able to view the report and embed in single page application. I am trying to perform addition of bookmark and favourite through the action bar. i am not able to perform that due to 401 error when clicking on those actions.. As per the below link from microsoft i have done the relevant things like providing the permission to the ad app (UserState.ReadWrite.All) and enabled the personalBookmarks setting in the report configuration object. Please refer the below screenshot for the permission for the app.
https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/personal-bookmarks
Please do let me know if any further information needed.
Regards,
Raghav Sharma