Azure Data Flow connection error to Dynamics 365 but pipeline can

Wayne Bartkowski 656 Reputation points
2024-03-04T05:21:30.9166667+00:00

I have a pipeline that has a connection to a table in Dynamics 365 which works fine. I need to create a dataflow as I need to lookup a value in the source that then replaces the value with a guid to load into Dynamics 365 but when I do a data preview in the data flow reading the Dynamics connection I get the following error:

UserPasswordAuthenticator fail to get access token with exception: java.util.concurrent.ExecutionException: com.microsoft.aad.msal4j.MsalInteractionRequiredException: AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access

I do not get this error when connecting via the pipeline.

It seems to be a similar issue to the one mentioned here:

https://learn.microsoft.com/en-us/answers/questions/938311/azure-data-factory-data-flow-rest-api-access-token

But there is no resolution mentioned in the comments.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,545 questions
{count} votes