Unable to deploy function to the Function App with Private Endpoints.

Akshay S Jaiswal 5 Reputation points Microsoft Employee
2024-01-19T06:29:52.1166667+00:00

We created a Virtual Network (Vnet) with two subnets: one designated for private endpoints (Private Subnet) and the other for Vnet integration of the function app (Function Subnet). The function app and its associated storage account were deployed within this setup, utilizing private endpoints to restrict public access. Additionally, private DNS zones were configured for both the function app and storage account to enable DNS resolution within the private network. The functions a deployed with the C# with .Net Core framework. Function App nslookup from the VM.
User's image

We also created the Self Hosted agent which resides in the same vnet and subnet where our function app is present. We are trying to deploy the resources using this self hosted and we are facing the below mentioned error.

Additionally , we have checked the NSG rules which are associated with PrivateSubnet. Attaching the screenshot for the same.
User's image

We are able to successfully deploy the App Settings for the Function App with the private endpoint attached to it. But failed to deploy the function for the Function App.
Please refer to the attached Screenshot for the App Settings.
User's image Error while deploying functions to function app using CI/CD pipelines : User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,679 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,311 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
492 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,408 questions
{count} vote