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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Embed Code works temporarily

I created a report that connects a tabular model with Direct Query, I publish it on the Power BI Web portal and then I create an Embed Code and it works normally.

 

kenymaciel_2-1729187055586.png

 

But after a while the embed code stops working, when I try to generate it again it shows the following error.

kenymaciel_1-1729186929864.png

 

If I delete it and make a new publication, the report works again, but after 1 hour the error occurs again. Can someone help me? Thank you.

 

 

 

 

5 REPLIES 5
Anonymous
Not applicable

I found a link from Microsoft stating that it is not possible to Publish to the Web when I am using Live Connection to connect to the Tabular model

Has anyone else had this problem?

Is this really the problem?

 

kenymaciel_2-1730839278986.png

 

Publish to web from Power BI - Power BI | Microsoft Learn

lbendlin
Super User
Super User

Sounds like your authentication token expires.  Does your embedding framework include functionality to ask for refresh tokens?

Anonymous
Not applicable

Hi @lbendlin , 

I think my embed framework does not include functionality to request refresh tokens

Can you show me where I see or disable this option?

Thanks.

Anonymous
Not applicable

I looked and we don't have that set up.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors