Access to C:\Data not allowed . Error Code 22853

Sushan 0 Reputation points
2023-02-24T07:06:54.58+00:00

Access to C:\Data not allowed . Error Code 22853

Any workway around this ?

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,045 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,015 questions
Azure Data Catalog
Azure Data Catalog
An Azure service that serves as a system of registration and system of discovery for enterprise data assets.
100 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,446 questions
{count} votes

2 answers

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 84,381 Reputation points Microsoft Employee
    2023-05-17T09:29:50.28+00:00

    @Sushan - - Thanks for the question and using MS Q&A platform.

    According to the offical documentation, the latest SHIR has a security fix that has been changed and does not allow access to local files by default.

    User's image

    You must run .\dmgcmd.exe -DisableLocalFolderPathValidation to disable the setting for more details, refer to Set up an existing self-hosted IR via local PowerShell

    User's image

    User's image

    Default: Enable security validation to disable access to file system of the local machine.

    Errorcode22853

    After Disabling access to file system of the local machine using: .\dmgcmd.exe -DisableLocalFolderPathValidation able to access the data from linked service.

    Resolve

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    3 people found this answer helpful.

  2. Limitless Technology 44,081 Reputation points
    2023-02-24T12:40:06.1366667+00:00

    Hello there,

    Are you facing these issues on VM?

    From the error message, it looks like the self-hosted integration runtime does not have permission to access the specified directory on the virtual machine.

    Can you please check the folder path permissions and make sure the SHIR user account has read and write access?

    You can refer to the troubleshooting pages for each connector to see problems specific to it with explanations of their causes and recommendations to resolve them. https://video2.skills-academy.com/en-us/azure/data-factory/connector-troubleshoot-guide

    Also, check if there is any network connectivity between the VM and the SHIR.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments