Share via

Cannot load data from OnPrem to SQL Managed Instance

Onkar Belgamwar 1 Reputation point
2022-04-08T13:20:04.777+00:00

Hi Team,

Our requirement is to transfer data from on-prem SQL Server to Azure SQL Managed instance, using ADF.

We have 2 Azure SQL managed instance resources. First one is created around 4 months back (MI1), and 2nd one is created in Last Week as a Development Environment (MI2). Linked Services of all these 3 servers are successfully connected.

When we are transferring data from On-Prem to MI2, its failing. We can preview data from Source (On-Prem) as well as Sink (MI2). But when we debug the copy activity, it fails with below error.

191290-image.png

But when I transfer data from On-Prem to MI1, I am able to do so. I tried various ways as below.

On-Prem to MI1 - Succeed
On-Prem to MI2 - Failed
On-Prem to Azure SQL DB - Succeed
Azure SQL DB to MI2 - Succeed
On-Prem to MI2 with Staging Enabled in Copy Activity - Succeed
MI2 to MI2 - Succeed
MI1 to MI2 - Succeed

Please note, we compared both the MIs, and it seems to be same.

Kindly advise if we can try any further with any different approach.

Thanks in Advance.
Onkar

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

0 comments No comments

1 answer

Sort by: Most helpful
  1. HimanshuSinha 19,637 Reputation points Microsoft Employee Moderator
    2022-04-11T21:01:32.2+00:00

    Hello @Onkar Belgamwar ,
    Thanks for the question and using MS Q&A platform.
    As we understand the ask here is how to get the other managed instance to work . , please do let us know if its not accurate.
    I really appreciate the details ask , it always helps . Since you hmentioned

    • On-Prem to MI2 with Staging Enabled in Copy Activity - Succeed| and
    • On-Prem to MI2 - Failed

    Also the last line of the error points to be issues on the target side .

    191950-image.png

    I am inclined to to beleive that the managed instances are on VNET and that M11 & M12 are not on the same VNET , Can you please check and let us know ?
    if thats the case M11 does have a firewall setting with posrt 1433 open .

    Please do let me if you have any queries.
    Thanks
    Himanshu


    • 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

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