An administrator deletes an Azure App Service instance that was configured to access an Azure Key Vault. The App Service used a system-assigned managed identity for authentication. What happens to the associated managed identity in Microsoft Entra ID after the App Service is deleted?
- AThe managed identity remains active in Microsoft Entra ID and must be manually deleted.
- BThe managed identity is preserved and automatically converted to a user-assigned managed identity.
- The managed identity is automatically deleted from Microsoft Entra ID.Cevap
- DThe managed identity is retained in Microsoft Entra ID to keep Key Vault access policies intact.
Cevap
The managed identity is automatically deleted from Microsoft Entra ID.
A system-assigned managed identity is enabled directly on an Azure resource instance. Its lifecycle is tied to that resource. Therefore, when the App Service instance is deleted, the identity is automatically cleaned up and deleted from Microsoft Entra ID.
Adım Adım Çözüm
Anahtar Kavram
The lifecycle of a system-assigned managed identity is strictly tied to the Azure resource on which it is enabled, meaning it is deleted automatically when the resource is deleted.
Tahmini Süre:45s