Skip to content

Commit dc715e7

Browse files
authored
Merge pull request #116690 from yuelilu33/main
Add instruction on how to migrate runbook action from "Run as account" to "run as managed identity"
2 parents 7efa2ac + a14509f commit dc715e7

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

articles/azure-monitor/alerts/action-groups.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,21 @@ Write-Host "My Azure AD Application (ObjectId): " + $myApp.ObjectId
602602
Write-Host "My Azure AD Application's Roles"
603603
Write-Host $myApp.AppRoles
604604
```
605+
### Migrate Runbook action from "Run as account" to "Run as Managed Identity"
606+
> [!NOTE]
607+
>
608+
> Azure Automation "Run as account" has [retired](https://azure.microsoft.com/updates/azure-automation-runas-account-retiring-on-30-september-2023/) on 30 September 2023, which affects actions created with action type "Automation Runbook". Existing actions linking to "Run as account" runbooks won't be supported after retirement. However, those runbooks would continue to execute until the expiry of "Run as" certificate of the Automation account.
609+
610+
To ensure you can continue using the runbook actions, you need to:
611+
1. Edit the action group by adding a new action with action type "Automation Runbook" and choose the same runbook from the dropdown. (All 5 runbooks in the dropdown have been reconfigured at the backend to authenticate using Managed Identity instead of Run as account. System-assigned Managed Identity in Automation account would be enabled with VM Contributor role at the subscription level would be assigned automatically.)
612+
613+
:::image type="content" source="./media/action-groups/action-group-runbook-add.png" alt-text="Screenshot of adding a runbook action to an action group.":::
614+
615+
:::image type="content" source="./media/action-groups/action-group-runbook-configure.png" alt-text="Screenshot of configuring the runbook action.":::
616+
617+
2. Delete old runbook action which links to a "Run as account" runbook.
618+
3. Save the action group.
619+
605620
## Next steps
606621

607622
- Get an [overview of alerts](./alerts-overview.md) and learn how to receive alerts.
54.5 KB
Loading
72 KB
Loading

0 commit comments

Comments
 (0)