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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Jan_Trummel
Helper IV
Helper IV

Automatic refresh fails

Hello to the forum,

 

I have created 2 dataflows in the Power BI service in a workspace with a Pro license. I imported these into Power BI Desktop. In Power BI Desktop, I then combined both dataflows in Power Query using an append query. The dataset is named “Append1”. (I know I could also do the append query in the Power BI service, but I don't have the premium license for that).

 

Append of the two dataflows in Power QueryAppend of the two dataflows in Power Query

 

In Power BI Desktop I only loaded the “Append1” dataset into the data model. I only saved the two dataflows in the connection.

 

I then published my report to the Power BI service. For this I used the workspace in which the two dataflows are still located.

 

Upload of the dataset "Append 1"Upload of the dataset "Append 1"

 

I then created the automatic refresh for the two dataflows and also for the dataset in the workspace settings. However, the automatic refresh for the dataset fails. With both dataflows, however, it works without any problems.

 

Here are the settings of the dataset in the Power BI service:

 

Settings of the datasetSettings of the dataset

 

The error message is:

 

{"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","parameters":{"ConnectionDetails":"{\"kind\":\"PowerPlatformDataflows\",\"path\":\"PowerPlatformDataflows\"}","CredentialType":"OAuth2","DatasourceType":"Extension"},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2023-07-31T14:12:17.1904174Z and was inactive for 90.00:00:00. Trace ID: 65f19ce1-7020-48b8-b6b8-0c558285a700 Correlation ID: 6cc4aff9-d69a-4e8c-96ad-054fc9b30138 Timestamp: 2023-11-08 23:17:25Z"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2023-07-31T14:12:17.1904174Z and was inactive for 90.00:00:00. Trace ID: 65f19ce1-7020-48b8-b6b8-0c558285a700 Correlation ID: 6cc4aff9-d69a-4e8c-96ad-054fc9b30138 Timestamp: 2023-11-08 23:17:25Z"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2146233088"}}],"exceptionCulprit":1}}} Table: Append1.OK

 

Can someone help me?

1 ACCEPTED SOLUTION
Jan_Trummel
Helper IV
Helper IV

I now used a Gateway for the automatic refresh. No it work's fine!

 

Gateway.jpg

View solution in original post

3 REPLIES 3
Jan_Trummel
Helper IV
Helper IV

I now used a Gateway for the automatic refresh. No it work's fine!

 

Gateway.jpg

GilbertQ
Super User
Super User

Hi @Jan_Trummel 

 

Did you use the details below to connect to the dataflow?

Power Query Dataflow connector - Power Query | Microsoft Learn

 

If it still fails also chat to your network admin as they might expire your token every 60mins and that is why it is failing.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hello @GilbertQ ,

 

yes I configured it the way, like it is described in the article.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors
Top Kudoed Authors