Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
SaraStep
Frequent Visitor

Power BI REST API embed token and infinite loading report

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.

SaraStep_0-1714385452110.png

Secondly, I had an embed token generated with report and group parameters and bearer token (from the previous screenshots)

SaraStep_3-1714387015203.png

SaraStep_4-1714387056525.png

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.

 

SaraStep_2-1714386951493.png

 

 

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.

 

1 REPLY 1
Anonymous
Not applicable

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.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors