How to fix invalid access token issue for resources connected to ADF via system managed identity?
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:
Interestingly, the process sometimes runs without any issues. The screenshot below shows some of the copy activities are successful upon multiple retries:
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.