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

APPLIES TO: Azure Data Factory Azure Synapse Analytics

Tip

Try out Data Factory in Microsoft Fabric, an all-in-one analytics solution for enterprises. Microsoft Fabric covers everything from data movement to data science, real-time analytics, business intelligence, and reporting. Learn how to start a new trial for free!

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 is not 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. By default, it's disabled.

  • 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: