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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply

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

2 REPLIES 2
v-tangjie-msft
Community Support
Community Support

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors