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
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
Fabcon_Europe_Social_Bogo

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

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors