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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
biuser98
Helper II
Helper II

Access token expired: Token is expiring within 30 second error

Hi.

I have a dataset in a premium workspace which is around 6 gb in size. I have implemented incremental refresh in the desktop version and published the dataset to the service. The issue is that the dataset is not refreshing in the service.  

It throws the following error:
Access token expired: ODBC: ERROR [08006] [Microsoft][ThriftExtension] (10) Access token expired: Token is expiring within 30 seconds. (token expired)"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"......}........

.....

 

The source data is in Databricks.

 

I dont know how to fix this issue. Any idea?

 

 

1 ACCEPTED SOLUTION
R1k91
Super User
Super User

have you already seen recommendations?

 

Connect to Power BI - Azure Databricks | Microsoft Learn

 

"

For large imports that take close to one hour or longer, Databricks recommends that you use Azure Databricks personal access token authentication as there is a known token refresh issue when using Azure Active Directory.

"


--
Riccardo Perico
BI Architect @ Lucient Italia

Blog | GitHub

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

View solution in original post

2 REPLIES 2
R1k91
Super User
Super User

have you already seen recommendations?

 

Connect to Power BI - Azure Databricks | Microsoft Learn

 

"

For large imports that take close to one hour or longer, Databricks recommends that you use Azure Databricks personal access token authentication as there is a known token refresh issue when using Azure Active Directory.

"


--
Riccardo Perico
BI Architect @ Lucient Italia

Blog | GitHub

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

Hi @biuser98 

Please make sure that you are granted permissions with all data sources. You could delete the connections and re-connect to have a try again.And you can try to configure token lifetimes, you can refer to the following link.

Configurable token lifetimes - Microsoft Entra | Microsoft Learn

 

Best Regards!

Yolo Zhu

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

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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