Configure and manage automation of tasks1 / 5
You are configuring an Azure Automation runbook to perform maintenance on Azure SQL Database. The runbook needs to authenticate to Azure without storing credentials. Which authentication method should you use?
CorrectNot quite
Alex
System-assigned managed identity is the recommended authentication method for Azure Automation runbooks accessing Azure SQL Database. Microsoft deprecated Run As accounts in September 2023. Managed identities eliminate credential storage, automatic secret rotation concerns, and integrate natively with Azure RBAC. The identity is tied to the Automation account lifecycle and can be assigned roles like SQL DB Contributor or specific SQL permissions via Microsoft Entra authentication. Certificate-based auth and client secrets still require secret management overhead. Ref: learn.microsoft.com/azure/automation/managed-identity
Sourcelearn.microsoft.com
Create a free account to keep asking Alex — no credit card required.
Question 1 of 5
Get started free