Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.7 KB

File metadata and controls

40 lines (30 loc) · 1.7 KB
author WilliamDAssafMSFT
ms.author wiassaf
ms.reviewer rotabor, alexwolf
ms.date 06/01/2023
ms.service azure-sql-database
ms.topic include
ms.custom
generated
sfi-image-nochange

Create a user-assigned managed identity using the Azure portal or the Azure CLI. Your application uses the identity to authenticate to other services.

  1. At the top of the Azure portal, search for Managed identities. Select the Managed Identities result.
  2. Select + Create at the top of the Managed Identities overview page.
  3. On the Basics tab, enter the following values:
    • Subscription: Select your desired subscription.
    • Resource group: Select your desired resource group.
    • Region: Select a region near your location.
    • Name: Enter a recognizable name for your identity, such as MigrationIdentity.
  4. Select Review + create at the bottom of the page.
  5. When the validation checks finish, select Create. Azure creates a new user-assigned identity.

After the resource is created, select Go to resource to view the details of the managed identity.

:::image type="content" source="../../database/media/passwordless-connections/create-managed-identity-portal-small.png" lightbox="../../database/media/passwordless-connections/create-managed-identity-portal.png" alt-text="A screenshot showing how to create a managed identity using the Azure portal.":::

Use the az identity create command to create a user-assigned managed identity:

az identity create --name MigrationIdentity --resource-group <resource-group>