- 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.