Many users attempt to enable the admin mode on ACR. This is bad for security. At the same time, newly created ACR instances don't provide App Service with the necessary access for deployment, even via the VS Docker extension. Many users wrongly believe enabled admin mode is the only way out.
This is a feature request specific to the deployment from ACR to App Service / Web App which will allow making the deployment seamless.
- Retrieve Web App Managed Identity or Create (Assign) a new one of it does not exist
- Assign ACR Pull role to the system managed identity for the ACR in question.
References: