can I use an Azure Integration runtime to UPSERT data from ADF to SQL Server on azure VM?

Javier Guerrero 61 Reputation points
2023-03-13T22:34:13.6233333+00:00

Hi,

I'm trying to UPSERT data from ADF to a SQL server hosted on Azure Virtual Machine since SHIR is not supported in Mapping dataflows.

I've created an Azure Integration Runtime with Virtual Network Enable, however when I tried to create an endpoint I do not see any option available for a VM, could you please guide me through the process to create this connectivity,?

this is my previous question about this topic

https://learn.microsoft.com/en-us/answers/questions/158556/sqlserver-on-iaas-vm-of-azure-cloud-and-integratio

thanks

SQL Server on Azure Virtual Machines
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,833 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. HimanshuSinha-msft 19,476 Reputation points Microsoft Employee
    2023-03-15T20:50:23.09+00:00

    Hello @Anonymous , Thanks for the question and using MS Q&A platform.

    I am assuming that you have named instance of SQL running on the VM. If that's the case, then you can get the hostname of the VM and pass that hostname in the ADF and that should help you connect to the SQL server. How to find the hostname

    I think you can do this in many ways, I find, login in on the server - cmd prompt - ipconfig/all

    and the hostname should be
    User's image

    hostname.yourdns.com .

    You should pass this server name to the linked service name in the below screen .

    User's image

    Let me know how it goes.

    Thanks Himanshu

    Please accept as "Yes" if the answer provided is useful , so that you can help others in the community looking for remediation for similar issues.


Your answer

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