Skip to main content

Power BI

Needs Votes

REST endpoint to generate Report access token for reports hosted in PowerBI service

Vote (3) Share
's profile image

on 13 May 2016 01:16:56

I am trying to integrate the Power BI reports from Power BI service to my existing app which is not registered to AAD. I have one account that interacts with the Power BI service and I can pull the report metadata using the rest end point GET https://api.powerbi.com/beta/myorg/reports . However, the end user that sees the report using iFrame requires an access token. And, they don’t have AAD account. Is there a REST endpoint that allows to create a token for a specific report so that the EmbedUrl and the accessToken is returned to the UI for rendering?

I see it is supported in the PowerBI embedded using PowerBIToken.CreateReportEmbedToken.

Comments (1)
's profile image Profile Picture

Steven Harman on 05 Jul 2020 22:31:58

RE: REST endpoint to generate Report access token for reports hosted in PowerBI service

I believe this is addressed here: https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-app-token-flow/#two-ways-to-authenticate