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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mikihiir
Helper III
Helper III

Refresh token with power bi javascript api

Hi,

 

I noticed , that azure access token expires (default) after 1h when leaving my inactive report open.

Now when i click on report i get a bunch of errors etc.

How do renew my report token (refres token etc.) without reloading my report from scratch?

 

Thanks in advance

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee


@mikihiir wrote:

Hi,

 

I noticed , that azure access token expires (default) after 1h when leaving my inactive report open.

Now when i click on report i get a bunch of errors etc.

How do renew my report token (refres token etc.) without reloading my report from scratch?

 

Thanks in advance


@mikihiir

Do you use Power BI Embedded or Embedding reports from Power BI Service? For the former, you can generate token never expires. For both, doesn't refresh(F5) work?

Hi

I am using power bi service.

Don't think that f5 refresh helps, your access token still expires.

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.