Delete an Azure Automation Run As account
Azure Automation Run As Account will retire on September 30, 2023 and will be replaced with Managed Identities. Before that date, you'll need to start migrating your runbooks to use managed identities. For more information, see migrating from an existing Run As accounts to managed identity to start migrating the runbooks from Run As account to managed identities before 30 September 2023.
Run As accounts in Azure Automation provide authentication for managing resources on the Azure Resource Manager or Azure Classic deployment model using Automation runbooks and other Automation features. This article describes how to delete a Run As or Classic Run As account. When you perform this action, the Automation account is retained. After you delete the Run As account, you can re-create it in the Azure portal or with the provided PowerShell script.
Delete a Run As or Classic Run As account
In the Azure portal, open the Automation account.
In the left pane, select Run As Accounts in the account settings section.
On the Run As Accounts properties page, select either the Run As account or Classic Run As account that you want to delete.
On the Properties pane for the selected account, click Delete.
While the account is being deleted, you can track the progress under Notifications from the menu.
To recreate your Run As or Classic Run As account, see Create Run As accounts.