Forum Discussion
Merry
4 years agoRegular Visitor
Operation returned an invalid status code 'Forbidden' when retrieving embed GenerateTokenAsync
Hi everyone, Our reports in power bi embedded stopped working . It has been working and all of a sudden it give us the Forbidden status. We are using service principal model. We I debug the...
- 4 years ago
Thank you for the information . It turned out that embedding Power BI reports on the tenant was disabled wrongly,
- 4 years ago
Thank you s o much! We found the issue. For some reason in Admin center under Tenant --> Developer Setting --> Embed contenet in apps had been removed. Once we specified the security group the issue is resolved.
Thanks,
Maryam
Ruchita
2 years agoHelper I
I was also facing the same issue. All the API permissions were correct and it was getting hard to find the problem. So I registered a new service principal in Azure and did not configure any permissions for the service principal. And embedded the new IDs in my web app, the error got resolved. It seems there were some issue in the previous service principal.