A system-assigned managed identity gives one Azure resource an identity for accessing Azure services that support Azure AD authentication, without storing passwords, certificates, or service-principal secrets. Its lifecycle is tied to that single resource. section 2.1.5
Use this identity type when:
- An Azure resource such as an App Service or virtual machine must call an Azure service using Azure AD authentication. section 2.1.5
- The identity should belong to one resource rather than be shared across multiple resources. section 2.1.5
- You are installing Azure Monitor Agent (AMA) on a small or individually managed VM set; at larger scale, separate identities for every VM can create unnecessary identity sprawl. section 9.1.4
Installing AMA with a system-assigned identity
To install AMA on an Azure VM with a system-assigned managed identity, enable the identity on the VM and omit the settings line used to identify a user-assigned identity. The VM must also meet the required permissions and networking prerequisites. section 9.1.4
Table 9.3 Prerequisites for installing AMA on your Azure VMs (view table figure)
Use the prerequisite table to check permissions, HTTPS endpoint access, and managed-identity requirements before installing AMA. section 9.1.4
