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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors