Create Azure Data factory Linked service to SQL Managed Instance

frexville 51 Reputation points
2022-08-04T19:45:41.967+00:00

Hi
I want to store data in a SQL managed instance database using azure data factory in this case, I have to create a linked service to this database but I get an error and I don't know how to go through

228264-adf-linkedservice-sqlmi.png

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

2 answers

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 91,496 Reputation points Moderator
    2022-08-05T07:05:00.427+00:00

    Hello @73836907,

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

    If you are passing the Fully qualified domain name as the Host provided in the Azure SQL Managed Instance overview page:

    228451-image.png

    Error message: You will experience the same error message as shown above:

    228433-image.png

    If you are passing the Fully qualified domain name as the public endpoint shown in networking page:

    228452-image.png

    It will work as excepted.

    228417-image.png

    Note: In case, if you want to use the private endpoint. You can create a managed private endpoint.

    For more details, refer to Tutorial: How to access SQL Managed Instance from Data Factory Managed VNET using Private Endpoint

    Hope this will help. Please let us know if any further queries.

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

    • 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
    1 person found this answer helpful.
    0 comments No comments

  2. frexville 51 Reputation points
    2022-08-09T14:22:05.6+00:00

    Hi

    I resolved my problem by creating a managed endpoint network in Data Factory

    https://learn.microsoft.com/en-us/azure/data-factory/tutorial-copy-data-portal-private#create-a-managed-private-endpoint

    thanks to all of you for your help

    1 person found this answer 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.