Forum Discussion

human239874's avatar
human239874
Frequent Visitor
8 years ago
Solved

HTTP 401 returned when attempting to generate embed token for report

I am trying to generate an embed token so I can embed a Power BI report into my own web application. I am using the API Embed Token - Reports GenerateTokenInGroup.   POST https://api.powerbi.com/v1...
  • human239874's avatar
    8 years ago

    I solved the issue. I did not have the proper permission (Access the directory as the signed-in user) set under Windows Azure Active Directory. Once I enabled this permission (see screen capture) I was able to generate an embed token for the report.