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, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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