Identity & Security

Managed Identity

Microsoft.ManagedIdentity

Resource types
2 of 2 supported
Data plane
1 types emulated
API versions
9 newest 2024-11-30
Ships as
Built-in

Data as of 2026-11-20

Resource types

The Resource Types supported by Locally for Microsoft.ManagedIdentity are shown below. You can click into a type to see more information.

Note: This is generated from Locally as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

API versions

The latest API version that Locally supports for Microsoft.ManagedIdentity is 2024-11-30. All 9 versions it supports are listed below.

Stable3

2024-11-30 2023-01-31 2018-11-30

Preview6

2025-05-31-preview 2025-01-31-preview 2023-07-31-preview 2022-01-31-preview 2021-09-30-preview 2015-08-31-preview

Features

  • User-assigned identities: each one gets a real service principal in the directory, with a clientId and principalId you can assign roles to.
  • Tokens for workloads: Web Apps, Function Apps, Container Apps, virtual machines and deployment scripts get tokens for their identities from IDENTITY_ENDPOINT, so DefaultAzureCredential and ManagedIdentityCredential work unchanged.
  • Local commands as an identity: locally run --managed-identity runs a command with the identity's credentials.
  • Federated identity credentials: a token from an external OIDC issuer, such as GitHub Actions, can be exchanged for one for the identity. The issuer's signing keys are fetched and checked, and claimsMatchingExpression is supported.

Limitations

General

  • Container Instances don't get tokens for their identities at this time.
  • The Instance Metadata Service (IMDS) isn't served at 169.254.169.254, but is instead served through the App Service style IDENTITY_ENDPOINT and IDENTITY_HEADER variables.

Federated Identity Credentials

  • Federated identity credentials only trust issuers served over HTTPS.

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.