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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
kenymaciel
Helper II
Helper II

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
kenymaciel
Helper II
Helper II

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?

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.

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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