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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!