Skip to main content

Remediation

From Azure Portalโ€‹

  1. Log in to the Azure portal using https://portal.azure.com.
  2. Go to App Services.
  3. Select each app.
  4. Under Settings, select Identity.
  5. Under the System assigned pane, set Status to On.

From Azure CLIโ€‹

To register with Entra ID for an existing app, run the following command:

az webapp identity assign \
--resource-group {{resource-group-name}} \
--name {{app-name}}

From PowerShellโ€‹

To register with Entra ID for an existing app, run the following command:

Set-AzWebApp `
-AssignIdentity $True `
-ResourceGroupName {{resource-group-name}} `
-Name {{app-name}}