I have a function trying to access blob storage but giving error when trying to see in Azure

Kaipa Venkata Sreedhar Reddy 0 Reputation points
2025-06-12T17:25:55.83+00:00

Hi Team,

I have a Azure function and I am deploying code for functions to run on Azure using CI/CD. Evertything is working fine in lower environments but when come to production getting error in function saying that Azure.Core: No such host is known. (xxxx.blob.core.windows.net:443). System.Net.Http: No such host is known. (xxxx.blob.core.windows.net:443). System.Net.Sockets: No such host is known.

Request for help.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,911 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sai Prabhu Naveen Parimi 2,265 Reputation points Microsoft External Staff Moderator
    2025-06-13T00:35:10.1866667+00:00

    @Kaipa Venkata Sreedhar Reddy

    Thank you for the update.

    Since you've confirmed that the Azure Function and the Storage Account are in the same VNet and the connection strings are correctly configured, the issue might be related to the VNet integration settings of the Function App.

    To address this, please add the following application settings in your Function App (under Configuration > Application settings):

    vnetRouteAllEnabled = 1  
    vnetContentShareEnabled = 1
    

    These settings ensure that all outbound traffic, including traffic to Azure services like Blob Storage, is correctly routed through the integrated VNet.

    After adding these settings, please restart your Function App and check if the issue persists.


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.