Data factory Copy activity fails when copy the data unity catalog table from databricks to storage account gen2

vinodh 20 Reputation points
2025-01-16T20:01:37.52+00:00

Data factory Copy activity fails when copy the data unity catalog table from databricks to storage account gen2

How to fix the connectivity issue even after providing all required access on catalog schema and tables level.

error details: ErrorCode=AzureDatabricksCommandError,Hit an error when running the command in Azure Databricks. Error details: [INSUFFICIENT_PERMISSIONS] Insufficient privileges:

User does not have permission SELECT on any file. SQLSTATE: 42501.

Azure Data Share
Azure Data Share
An Azure service that is used to share data from multiple sources with other organizations.
56 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,313 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,167 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.
109 questions
0 comments No comments
{count} votes

Accepted answer
  1. Chandra Boorla 7,335 Reputation points Microsoft Vendor
    2025-01-17T03:44:19.36+00:00

    @vinodh

    Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!

    The error you are encountering indicates that the user does not have the necessary permissions to perform the SELECT operation on the files in the Unity Catalog table. To resolve this issue, you should ensure that the user or service principal executing the Data Factory Copy activity has been granted the appropriate permissions.

    Here are some steps to troubleshoot and fix the connectivity issue:

    Check Permissions - Verify that the user has been granted the SELECT permission on the specific files or tables in the Unity Catalog. You may need to explicitly grant these permissions if they are not already set.

    Catalog and Schema Access - Ensure that the user has the necessary permissions at both the catalog and schema levels. This includes checking if the user has access to the catalog that contains the tables.

    Databricks Workspace Configuration - Confirm that the Databricks workspace is properly configured to allow access from Azure Data Factory. This may involve checking network settings and ensuring that the integration runtime can communicate with Databricks.

    Review Access Policies - If you are using access control policies, ensure that they are correctly configured to allow the necessary access for the user.

    For additional information, please refer: User does not have permission SELECT on ANY File

    I hope this information helps. Please do let us know if you have 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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.