Azure Data Factory connection failure

Sivakumar Rajabather 85 Reputation points
2024-03-16T14:04:45.7833333+00:00

Hi I am getting the below error connecting a table from the SQL Server OnPremises to Azure Data Factory. However I have established a connection with SQL Server and Azure Data Factory using the integration runtime and the connection is working well. However, I am getting the below error while loading a table. 

 

Schema import failed: A database operation failed with the following error: 'The SELECT permission was denied on the object 'Address', database 'AdventureWorks2017', schema 'Person'.'\r\nThe SELECT permission was denied on the object 'Address', database 'AdventureWorks2017', schema 'Person'., SqlErrorNumber=229,Class=14,State=5,\r\n \nActivity ID: 8cde157e-2b17-44e7-9a90-d6b33e0b6f2a"

 

Kindly help.  

Thanks and Regards, 

R. Sivakumar

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,691 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,527 questions
{count} votes

Accepted answer
  1. phemanth 5,730 Reputation points Microsoft Vendor
    2024-03-19T12:22:29.6566667+00:00

    @Sivakumar Rajabather

    • Welcome to Microsoft Q&A platform and thanks for posting your question.

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others "I'll repost your solution in case you'd like to accept the answer.

    Ask: Hi, I am getting the below error connecting a table from the SQL Server OnPremises to Azure Data Factory. However, I have established a connection with SQL Server and Azure Data Factory using the integration runtime and the connection is working well. However, I am getting the below error while loading a table. 

     

    Schema import failed: A database operation failed with the following error: 'The SELECT permission was denied on the object 'Address', database 'AdventureWorks2017', schema 'Person'.'\r\nThe SELECT permission was denied on the object 'Address', database 'AdventureWorks2017', schema 'Person'., SqlErrorNumber=229,Class=14,State=5,\r\n \nActivity ID: 8cde157e-2b17-44e7-9a90-d6b33e0b6f2a"

    Solution: I just restarted the Self Hosted IR. It works perfectly. This is the resolution.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sivakumar Rajabather 85 Reputation points
    2024-03-19T15:29:38.54+00:00

    @phemanth ,

    I have restarted the Self Hosted IR and the error has been resolved now.

    Thanks and regards,

    R. Sivakumar

    0 comments No comments