Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi guys,
I have issues with Power BI Rest API. I need to add a Power BI report to my internal portal as "Embed report Website or portal".
I started in Postman. First of all, I had an access token generated.
Secondly, I had an embed token generated with report and group parameters and bearer token (from the previous screenshots)
The call return the embed token and I added to URL.
https://app.powerbi.com/reportEmbed?reportId=REPORT_ID&groupId=GROUP_ID&w=2&config=EMBED_TOKEN
As soon as I want to use the Embed Url that I obtained, Power BI loads endlessly.
Could anyone advise me where I'm going wrong? Is there a parameter missing somewhere for example in the Body (the second call)?
Thank you very much.
Hi @SaraStep ,
1. Please verify whether the token is correct. Please try to send an api request, for example: GET https://api.powerbi.com/v1.0/myorg/reports, to verify whether your token can access the Power BI api. If the data can be returned, the token generation steps are correct.
2. Put the token in the request header. The token parameter should be placed in the request header instead of being placed in the link as a parameter. In front of this token is a: Bearer token.
3. For more details, please refer to the link:
Power BI REST API: Step-by-step Guide to Use It | Coupler.io Blog
Embed Token - Reports GenerateTokenForCreateInGroup - REST API (Power BI Power BI REST APIs) | Micro...
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
115 | |
112 | |
105 | |
95 | |
58 |
User | Count |
---|---|
174 | |
147 | |
136 | |
102 | |
82 |