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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.