How do I verify I have my App Servers running under my managed identity?

David Thielen 3,121 Reputation points
2024-07-08T18:05:59.29+00:00

Hi all;

I believe, many months ago, that I got my app servers (prod & dev slots) running under my managed identity.

How do I verify I have that configured right?

thanks - dave

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,775 questions
0 comments No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 18,046 Reputation points
    2024-07-08T22:13:49.2233333+00:00

    Hi @David Thielen you can via the Azure portal or Azure CLI for verification. Please follow the steps below:

    Via Azure Portal:

    • Sign in to the Azure portal and navigate to the App Service resource group containing your app servers.
    • Select the specific App Service where you want to verify managed identity.
    • Go to the "Configuration" section and click on "Identity."
    • Within the "Identity" blade, check for the following:
      • System assigned: This option should be set to "On" if you've enabled managed identity for your app server.
      • Client ID: A unique identifier should be displayed if a system-assigned managed identity is present.
      • Repeat steps 2 and 3 for both your production and development slots to make sure managed identity is configured on all environments.

    Via Azure CLI or PowerShell:

    Here's an example using Azure CLI:

    az appservice identity show 
      --resource-group <your-resource-group-name> 
      --name <your-app-service-name>
    

    Best,

    Grace

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.