How to fix invalid access token issue for resources connected to ADF via system managed identity?

Saif Ahmed 0 Reputation points
2025-03-28T15:29:14.6466667+00:00

We're facing an intermittent error with Azure Data Factory's 'Copy Data' feature, and we're unsure of the cause. Please note that we have also reached out to Databricks regarding this and was referred to MS/Azure support.

The task is straightforward: use Azure Data Factory to transfer data from a specific catalog and table in Databricks Unity Catalog to a table in Azure Synapse. We've set up all connections accurately, but during testing, the process occasionally runs successfully and other times fails with an error. Below is a screenshot showing the error:

User's image

Interestingly, the process sometimes runs without any issues. The screenshot below shows some of the copy activities are successful upon multiple retries:

User's image

Additional Context:

      - This process executes nightly in another ADF pipeline without any errors. The issue arises only in the new ADF setup, despite using the same connection pattern and the same setup.

      - The problem isn't specific to a particular catalog; we encounter the same error across different catalogs.

Do you have any insights into the activity's instability or potential resolutions? Your expertise would be greatly appreciated.

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.