- Published on
Creating User Assigned Managed Identity in Microsoft Azure Portal
- Authors
- Name
- Jagdish Kumawat
- @jagdishkumawat
Introduction
In this guide, we will walk you through the steps to create a User Assigned Managed Identity in the Microsoft Azure Portal. Managed Identities are a great way to manage access to your Azure resources securely without the need for managing credentials.
Table of Contents
Prerequisites
Before you begin, ensure you have the following:
- An active Azure subscription. Follow along the article to get started with a Free Azure Subscription.
- Appropriate permissions (Contributor, Admin, etc) to create and manage identities in your Azure account.
Steps to Create a User Assigned Managed Identity
Step 1: Navigate to the Azure Portal
Go to the Azure Portal and log in with your Azure account credentials.
Step 2: Create a New Managed Identity
- In the Azure Portal, search for "Managed Identity" in the search bar and select User Assigned Managed Identity it from the results.

- Create the user assigned managed identity and fill in the required details such as the Subscription, Resource Group, and Name for the Managed Identity.

- Click on the "Review + create" button, and then click "Create" to finalize the creation of the Managed Identity.
Step 3: Assign the Managed Identity to a Resource
- Navigate to the resource you want to assign the Managed Identity to (e.g., a Virtual Machine, App Service, etc.).
- In the resource's menu, select "Identity" under the "Settings" section.
- Choose "User Assigned" and click on the "Add" button.
- Select the Managed Identity you created earlier and click "Add".
Step 4: Grant Permissions to the Managed Identity
- Go to the resource you want the Managed Identity to access.
- In the resource's menu, select "Access control (IAM)".
- Click on the "Add role assignment" button.
- Choose the appropriate role for the Managed Identity (e.g., Reader, Contributor, etc.).
- Select the Managed Identity from the list and click "Save".
Conclusion
You have successfully created a User Assigned Managed Identity in the Microsoft Azure Portal and assigned it to a resource. Managed Identities simplify the management of credentials and enhance the security of your Azure resources. For more information, refer to the official Azure documentation.