I'm trying to use the Power BI API to load a Power BI Embedded report into my custom web app.
I login against AD
And then use that token to access the report list using
https://api.powerbi.com/v1.0/myorg/groups/{{groupId}}/reports
Then use the report ID selected to generate a token and then request the report by id for the embedded details.
Token https://api.powerbi.com/v1.0/myorg/groups/{{groupId}}/reports/{{reportId}}/GenerateToken
https://api.powerbi.com/v1.0/myorg/groups/{{groupId}}/reports/{{reportId}}
Calling the reports URL above gives me 403 Forbidden.
I can't figure out what I'm doing wrong.
Thank you