Troubleshoot the file system connector in Azure Data Factory and Azure Synapse

APPLIES TO: Azure Data Factory Azure Synapse Analytics

This article provides suggestions to troubleshoot common problems with the file system connector in Azure Data Factory and Azure Synapse.

Error code: AccessToOnPremFileSystemDenied

  • Message: Access to '%path;' is not allowed.

  • Cause: Copying files from local machine isn't supported under Azure Integration Runtime. For Self-hosted Integration Runtime (versions >= 5.22.8297.1), Azure Data Factory is introducing a new security control to allow or disallow local SHIR file system access through the connector. It's disabled by default.

  • Recommendation: Using command line from Set up an existing self-hosted IR via local PowerShell, you could allow or disallow local SHIR file system access.

For more troubleshooting help, try these resources: