Azure DevOps release pipeline getting fail with "Failed to fetch Kudu App Settings. Error: Ip Forbidden (CODE: 403)"

Amjad Nagori 296 Reputation points
2021-11-23T07:56:27.83+00:00

Hi Team,

I am using Azure ADO Pipeline to build and push Docker Image to ACR from my code in build pipeline and release pipeline (with self hosted agent as we have private endpoint configured for App Service) to deploy it into App Service Container.

While pushing the code, build pipeline is working fine and push images to ACR but release pipeline is getting fail with "Failed to fetch Kudu App Settings. Error: Ip Forbidden (CODE: 403)" error. Please find screenshot below -

![151704-image.png]1

Strange thing is, changes which we are making into the code are successfully deploying its just a pipeline which is getting failed.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,936 questions
{count} votes

Accepted answer
  1. Amjad Nagori 296 Reputation points
    2021-11-27T01:15:39.87+00:00

    I was able to resolve this issue, it was related with DNS entry, I had to create a Private DNS entry for the App Service and assign it to the Virtual networks of both App Service Private endpoint and Agent.

    152997-bd50421a-005a-4a9f-93cf-f95e7b17d1a8.jpeg

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Praveenkumar K 0 Reputation points
    2024-01-12T14:56:04.8766667+00:00

    Please follow the below link to create private DNS to resolve the issue. https://learn.microsoft.com/en-us/azure/dns/private-dns-getstarted-portal

    0 comments No comments

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.