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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.