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
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).
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.
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:
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?
Solved! Go to Solution.
I now used a Gateway for the automatic refresh. No it work's fine!
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.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.