Forum Discussion
Operation returned an invalid status code 'Unauthorized' while connecting Power BI embed app.
- Anonymous3 years ago
Hi saivina2920 ,
Could it be permission issue?
The account must be the admin of the related workspaces when you need to embeded report in the application.
Best Regards,
Jay
Hi, yes this issue was resolved for me. I did different things i am forgetting it, I guess I was forgetting to give admin access to my Service Pricncipal on my WorkSpace is Worspace Access option.
thanks. But i have done this
- MRIZ2 years agoHelper II
OneDriveAppOwnsData.sln
this is running project for your reference. May be it can help you!!- Anonymous2 years agoNot applicable
thanks, this is only the sln file, maybe you miss some others. And I want to know if you use the service principle to add or update data to powerBI, I can access to getworkspace, but fialed when try to upload new report, meet the 'unauthorized', I think maybe it is read-only?
- MRIZ2 years agoHelper II
Sorry for inconvinience, PFB updated link
Check if this runs for you or not after replacing all the values in json
Embed for your customers.rar