Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Container Registry Webhook to App Service 401

I have an Azure App Service that pulls a container image from an Azure Container Registry (ACR) when the App Service starts. I'm trying to have an ACR Webhook notify the App Service that a new container is available and to restart automatically. However, while the Webhook runs fine from an ADO pipeline, I get a "401 Unauthorized" error.

From the App Service, I've turned on "Continuous Deployment" and copied the Webhook URL to the Service URI in the ACR Webhook:

App Service Config

The App Service has "AcrPull" permissions on the Container Registry:

ACR Permissions

Even running a Ping on the Webhook results in a 401 with this configuration:

Ping 401

What am I missing? I don't see anything in particular that I've skipped in the Microsoft documentation.

like image 322
gt-downunder Avatar asked Nov 02 '25 18:11

gt-downunder


1 Answers

@oystehei answer is correct, you can enable basic auth from UI from configuration menu

enter image description here

like image 172
Taiseer Joudeh Avatar answered Nov 04 '25 10:11

Taiseer Joudeh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!