Share via

Azure Data Factory Copy activity failing due DNS resolution issue

Sahil Chaudhry 20 Reputation points
2026-06-05T12:43:11.58+00:00

We have a Data Factory in which our Data Engineers have created a copy activity to pull data from a SQL server which is hosted inside a Azure VM and this VM also act as a SHIR and the target is a storage account and we the same VM as the SHIR. The VM and storage accounts are hosted in different tenants and they don't have any network connectivity. The copy activity used to run fine earlier but since last few days we are witnessing this error -

ErrorCode=AdlsGen2OperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ADLS Gen2 operation failed for: An error occurred while sending the request.. Account: '<storage account name>'. FileSystem: 'landing'..,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.Http.HttpRequestException,Message=An error occurred while sending the request.,Source=mscorlib,''Type=System.Net.WebException,Message=The remote name could not be resolved: <storage account name>.dfs.core.windows.net',Source=System,'

This is very confusing as we wanted to know how was this working earlier and now it suddenly stopped working though we did not make any changes to the VM and the storage account. Our storage account is disabled from all networks and even if we make it publicly opened then also the same error occurs. Please share your views what could be the cause of the issue and how can we fix it?

Azure Data Factory
Azure Data Factory

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

0 comments No comments

2 answers

Sort by: Most helpful
  1. Pilladi Padma Sai Manisha 9,860 Reputation points Microsoft External Staff Moderator
    2026-06-10T05:19:11.7+00:00

    Hi @Sahil Chaudhry

    From the error you shared, the copy activity is failing because the runtime can’t resolve the storage account hostname:

    The remote name could not be resolved: <storage account name>.dfs.core.windows.net

    That’s a DNS resolution/network name resolution symptom (not necessarily an ADF connector/auth issue). Since this started “suddenly” a few days ago, the most common causes are changes in DNS settings, firewall/proxy/egress restrictions, managed network/private endpoint/DNS configuration, or integration runtime networking.

    What to try (based on common ADF connectivity troubleshooting)

    1) Verify which Integration Runtime is being used

    In ADF, check the copy activity / linked services to confirm whether the job is running on:

    • Self-hosted IR (SHIR) (hosted on your VM), or
    • Azure IR with Managed VNet.

    Then proceed using the matching troubleshooting path:

    • For SHIR, you troubleshoot from the SHIR VM.
    • For Managed VNet, you validate managed VNet/private link/DNS behavior.

    2) Test “name resolution” from the same machine/runtime that executes the copy

    If your VM is acting as the SHIR, run DNS tests on that VM (because it’s where the request originates):

    • Use nslookup <storage-account-name>.dfs.core.windows.net
    • If DNS resolution fails there, the storage endpoint can’t be reached by hostname—so the HTTP request fails with the error you’re seeing.

    If you’re using Managed VNet/Private endpoints, make sure the private DNS zone / DNS resolution is correctly set up so that the hostname resolves to the expected private IP.

    3) Ensure networking security components didn’t change

    Even if the storage account is “disabled from all networks,” you can still see failures if something changed in one of these places:

    • corporate firewall / router egress rules
    • VPN/NSG rules
    • proxy configuration on the IR VM (SHIR) or in the environment

    ADF guidance here is to review firewalls/NSGs/VPN and confirm required ports/domains are allowed for the integration runtime and its connectivity path.

    4) Check ADF IR connection troubleshooting + logs

    To get the exact connectivity failure details:

    • For SHIR, check Integration Runtime connector logs on the SHIR VM via Windows Event Viewer:
      • Event Viewer > Application and Services Logs > Integration Runtime and Connectors (and/or Integration Runtime logs depending on the guide)
    • For Azure IR (Managed VNet), review ADF monitoring and confirm the managed networking/private link assumptions.

    ADF also recommends testing the linked service connection using ADF → Author → Connections / Test connection (where applicable) and reviewing activity/connector logs.

    5) If storage is private (private endpoint), validate DNS specifically

    Your message says there is no network connectivity between source VM and storage (and storage is “disabled from all networks”). That strongly suggests you’re relying on some form of private access pattern—most often Private Endpoint + Private DNS.

    If DNS stopped resolving days ago, that usually points to a private DNS zone association change, DNS server change, or private endpoint/DNS record change.

    Why it “worked earlier” and now doesn’t

    With DNS-based errors, the usual “no code change” causes are:

    • DNS server update/change on the SHIR VM (or in the network path)
    • Private DNS zone records/links changed (for storage private access)
    • Firewall/egress rule or proxy setting changed, affecting DNS queries or outbound resolution
    • Private endpoint or related network rules changed, causing the hostname not to resolve

    Follow-up questions (so we can pinpoint the root cause quickly)

    1. Which Integration Runtime is the copy activity using right now: Self-hosted IR (on the VM) or Azure IR (Managed VNet)?
    2. Are you using Private Endpoint for the storage account (or any private access mechanism)? If yes, what DNS method are you using (private DNS zone, custom DNS server, etc.)?
    3. On the SHIR VM, what is the result of nslookup <storage-account-name>.dfs.core.windows.net?
    4. Did anything change in the last few days in DNS/proxy/firewall/NSG/VPN rules for the SHIR VM or the network path to Azure?
    5. If you enable storage public access temporarily, does DNS still fail on the SHIR VM (or does it only fail at the HTTP call stage)?
    6. Can you share the ADF Activity ID or the relevant integration runtime log excerpt from the time of failure (no sensitive data—just the error context)?

    References (relevant docs from the provided materials)

    Was this answer helpful?


  2. Amira Bedhiafi 42,846 Reputation points MVP Volunteer Moderator
    2026-06-05T17:35:27.2933333+00:00

    Hello Sahil !

    Thank you for posting on MS Learn Q&A.

    This error should be investigated from the Self-hosted IR VM. Since the message says remote name could not be resolved.the VM cannot resolve the ADLS Gen2 DFS endpoint.

    Try to run nslookup <storage>.dfs.core.windows.net and Test-NetConnection <storage>.dfs.core.windows.net -Port 443 from the SHIR VM.

    If the storage account has public access disabled, the VM needs a valid private network path to the storage account, normally through Private Endpoint plus Private DNS. For ADLS Gen2, configure both DFS and Blob private endpoints and link/configure the private DNS zones privatelink.dfs.core.windows.net and privatelink.blob.core.windows.net. Opening the storage account publicly will not fix this specific error if DNS resolution itself is failing.

    Was this answer helpful?

    0 comments No comments

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.