Training
Certification
Microsoft Certified: Identity and Access Administrator Associate - Certifications
Demonstrate the features of Microsoft Entra ID to modernize identity solutions, implement hybrid solutions, and implement identity governance.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
On resources configured for managed identities for Azure resources, you can sign in using the managed identity. Here are some of the benefits of using managed identities:
Signing in with the resource's identity is done through the --identity
flag.
To sign in with a system-assigned managed identity:
az login --identity
To sign in with a user-assigned managed identity, you must specify the client ID, object ID or resource ID of the user-assigned managed identity with --username
:
az login --identity --username <client_id|object_id|resource_id>
To learn more about managed identities for Azure resources, see What are managed identities for Azure resources?.
Here are three articles showing the use of the az login --identity
command:
Here are popular articles for specific Azure services that show how to work with managed identities using Azure CLI commands:
Azure CLI feedback
Azure CLI is an open source project. Select a link to provide feedback:
Training
Certification
Microsoft Certified: Identity and Access Administrator Associate - Certifications
Demonstrate the features of Microsoft Entra ID to modernize identity solutions, implement hybrid solutions, and implement identity governance.