Forum Discussion
How to get EmbedToken Generated ?
Dear Rico ,
First of all, Thank you very much for your quick response. As far as I understand you explain the differences between Entra ID Token and Embed Token and how to obtain them.
My question was , we get Entra ID Token (Access Token) by 2 ways with the same master user account. First Way cannot generate Embed Token and the second way does generate, What is missing with first way?
1st Way. Calling Api ( https://login.microsoftonline.com/common/oauth2/token )
2nd Way. Login Api Playground https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/reports-generate-token-in-group
Copied "Authorization" .
Best Regards,
Hi uaydogdu ,
I think you can try to call the Power BI API resource url for accress token : "https://analysis.windows.net/powerbi/api".
For reference: Solved: REST API Get Access Token - Microsoft Fabric Community
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- uaydogdu1 year agoHelper I
Dear Rico ,
We've already call "https://analysis.windows.net/powerbi/api" to get access token.
On application registration we gave full control for the master user to the app.
On our postman response we get Report.Read.All as scope.
Is the "Report.Read.All" enough for getting Embed Token?
What could be the reason we dont see the rest of the scope items in response?
Thank you very much in advance,
Regards