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
willchamp
Frequent Visitor

Dataflow Error: An error occured while trying to fetch token for 3 resource

We have a user who has built a dataflow in the Power BI Service. Her data flow is sourcing data from Palantir Foundry, via the native Foundry connector, using the token methodology. Her dataflow refreshes succesfully on the Power BI Service, and when it's run in Power BI Desktop. However, when attempting to refresh the semantic model that uses the dataflow on the Power BI Service, and is only connected to the dataflow, it gave the following error:

 

{"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS700003: Device object was not found in the tenant '1146cf6d-9b72-4828-bd04-9f1ccb305586' directory. Trace ID: 597ac296-0395-401a-96e5-4f03166ca600 Correlation ID: 349b7b7a-11e2-427b-bb06-45225b8fc51e Timestamp: 2024-04-09 15:45:28Z"}}],"exceptionCulprit":1}}} Table: Departures.

 

After we generated a new token, we get the following:

 

{"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"An error occured while trying to fetch token for 3 resource, [ccon]https://service.powerapps.com/[/ccon]"}}],"exceptionCulprit":1}}} Table: Query.

 

I've seen some people have similar experiences, and they've had to refresh their credentials. We tried that, but had no success. We also created a new dataflow, pointed the source to the new dataflow, and had the same issue.

1 ACCEPTED SOLUTION
v-zhengdxu-msft
Community Support
Community Support

Hi @willchamp 

 

The error message you encountered while refreshing the semantic model in Power BI Service indicates an issue with OAuth token refresh. Specifically, it mentions the error code AADSTS700003, which points to a problem related to a device object not found in the specified tenant directory.

vzhengdxumsft_0-1712717896762.png

 

Here are some links for your reference:

Microsoft Entra authentication & authorization error codes - Microsoft identity platform | Microsoft...

azure active directory - "AADSTS700003: Device object was not found in the tenant" issue started sin...

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-zhengdxu-msft
Community Support
Community Support

Hi @willchamp 

 

The error message you encountered while refreshing the semantic model in Power BI Service indicates an issue with OAuth token refresh. Specifically, it mentions the error code AADSTS700003, which points to a problem related to a device object not found in the specified tenant directory.

vzhengdxumsft_0-1712717896762.png

 

Here are some links for your reference:

Microsoft Entra authentication & authorization error codes - Microsoft identity platform | Microsoft...

azure active directory - "AADSTS700003: Device object was not found in the tenant" issue started sin...

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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