Unable to create a linked service on Azure Data Factory to connect to SQL sever developer edition installed on Azure VM

Vivek Komarla Bhaskar 956 Reputation points
2022-08-23T09:23:58.827+00:00

Hi Team,

I have below services on Azure -

  1. Azure Windows Server 2022 Datacenter VM (Installed SQL Server Developer Edition Myself)
  2. Azure Data Factory

Both the services are on same subscription & resource group. I have installed Self Hosted Integration Runtime on mentioned VM and registered it with my Azure Data Factory. And now I'm trying to create a linked service on ADF to connect to the SQL Server developer edition but I get the below error (Please also refer to the screenshot of the ports that are open from my Azure VM) -

233947-screenshot-2022-08-23-at-101917.png

233984-screenshot-2022-08-23-at-102208.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Answer accepted by question author
  1. Bhargava-MSFT 31,361 Reputation points Microsoft Employee Moderator
    2022-09-01T02:11:24.903+00:00

    Hello @Vivek Komarla Bhaskar ,

    Sorry, Initially, I thought it could be a firewall issue. As per your issue, I spun up an Azure VM and was able to reproduce the issue from my end.

    Here are my findings.

    Case1:
    If you use windows authentication, make sure the domain account user name and password are correct. When I used the incorrect credentials, I got the 22300 error.

    Case2:
    If you use SQL authentication, ensure that Mixed mode is enabled on the SQL server. I got the 22300 error when the mixed mode was disabled and using the SQL account.

    Also, you can test this from your Azure VM.

    Open SSMS and connect to SQL using either windows or SQL authentication. If your authentication is successful, the same credentials will work in the linked server connection.

    236678-image.png

    236713-image.png

    236648-image.png

    I hope this helps. Please let me know if you have any further questions.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.