System-assigned vs user-assigned managed identity

Verdict: A system-assigned managed identity is tied to one resource and deleted with it. A user-assigned managed identity is a standalone resource shared across many and outliving each, so it keeps permissions as machines are recycled.

CriterionSystem-assigned managed identityUser-assigned managed identity
LifecycleShares the resource's lifecycle, deleted with itIndependent, standalone Azure resource
SharingTied to one resource onlyAssociated with many resources
Choose whenOne resource needs its own identity, auto cleanupSeveral resources share an identity that must persist

Rules

Traps