Forum Discussion
saivina2920
3 years agoPost Prodigy
Operation returned an invalid status code 'Unauthorized' while connecting Power BI embed app.
I am getting error in the below line while connecting Power BI with embed app.
I have give all id's in JSON settings like below.
"AzureAd": { "AuthenticationMode": "ServicePrincipal", /...
- 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
MRIZ
2 years agoHelper II
OneDriveAppOwnsData.sln
this is running project for your reference. May be it can help you!!
Anonymous
2 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