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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Jan_Trummel
Helper III
Helper III

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 III
Helper III

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 III
Helper III

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors