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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
SarahAlsterspre
Helper II
Helper II

The refresh token has expired due to inactivity. The token was issued on 2023-11-21T12:57:09.4086913

Hey,

 

I get the following error constantly recently for all kinds of sources also where no token has ever been issued or where I set a token only 2 months ago. Whats the root cause?

 

The refresh token has expired due to inactivity. The token was issued on 2023-11-21T12:57:09.4086913Z and was inactive for 90.00:00:00.

 

Thanks in advance

 

Sarah

4 REPLIES 4
MMalvey
Frequent Visitor

Having this same error in some of our users' dashboards. Can we get a resolution or troubleshooting steps soon?

kadirkkkk
Advocate I
Advocate I

A similar error message happened to a semantic model which is connected to a dataflow.

"Workspace X" (PPU) \ "Y Dataflow" -> Connected to on-premise MSSQL table (Import mode)

"Workspece Z" (PRO - APP Development) \ "T Semantic model" -> Connected to "Y Dataflow"

 

Dataflow has been created today

Workspece Z has been created today

Semantic model and report has been published today

 

Error message: 

  • Data source error{"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2024-07-17T17:53:20.6975756Z and was inactive for 90.00:00:00. Trace ID: 4087f243-5766-4565-a67b-145d16260f00 Correlation ID: 60a6c803-4bf7-49cf-aace-36bca64e0f54 Timestamp: 2025-04-21 13:41:12Z"}}],"exceptionCulprit":1}}} Table: STLINE.
  • Cluster URIWABI-WEST-EUROPE-D-PRIMARY-redirect.analysis.windows.net
  • Activity ID669e5ef6-175c-4163-a1e8-98bab0df2b2e
  • Request ID000ba051-31a4-9b1b-ad24-cb6d6b81ac74
  • Time2025-04-21 13:41:12Z

No cure yet 😞

Anonymous
Not applicable

Hi @SarahAlsterspre ,

 

The default inactive survival period for a refresh token is 90 days. This means that if a refresh token is not used to obtain a new access token within this time period, the token will expire due to inactivity.

You can set up scheduled refreshes, and this method helps keep the refresh token active.

For more details, please refer: 

Data refresh in Power BI - Power BI | Microsoft Learn

Configure scheduled refresh - Power BI | Microsoft Learn

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Hey,

 

thanks for the suggestion. I set automatic refreshes and they used to work fine. Now I often get this error after having refreshed it 1 or 2 days before. For example I got this error again last night: 

 

{"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2023-11-21T12:57:09.4086913Z and was inactive for 90.00:00:00. Trace ID: 8fcfae61-f73f-4690-8f41-ac99d1480500 Correlation ID: 1eccbabf-f476-4535-96bc-22399335bf98 Timestamp: 2024-05-31 03:16:57Z"}}],"exceptionCulprit":1}}} Table: Daten - Sistrix - Sichtbarkeitsindex.

 

the table "Daten - Sistrix ..." has been created 3 weeks ago. So the refresh token for this source could not have been issued back in 2023.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

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

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 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.