Skip to content

Deploy from ACR to App Service should use MSI with ACRPull role #1685

@berndverst

Description

@berndverst

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.

  1. Retrieve Web App Managed Identity or Create (Assign) a new one of it does not exist
  2. Assign ACR Pull role to the system managed identity for the ACR in question.

References:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions