Azure Monitor Baseline Alerts
Download AlertsGlossaryGitHubGitHub IssuesToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Updating to release 2024-03-01

Update

Complete the activities documented in the Steps to update to the latest release page.

Post update actions

Updating to release 2024-03-01 will require running a post update script to remove the old Service Health action group(s) no longer in use.

To execute the script, follow these steps:

  1. Launch PowerShell.
  2. Install the Az.ResourceGraph module by executing the following command:
Install-Module Az.ResourceGraph
  1. Navigate to the directory containing the Start-AMBAOldArpCleanup.ps1 script.

  2. Set the $pseudoRootManagementGroup variable with the following command:

$pseudoRootManagementGroup = "The pseudo root management group id parenting the identity, management and connectivity management groups"
  1. Sign in to your Azure account using the Connect-AzAccount command. Ensure that the account has the necessary permissions to remove Policy Assignments, Policy Definitions, and resources at the required Management Group scope.

  2. Run the script with one of the following options:

To execute the PowerShell scripts provided in the ALZ pattern, you may need to temporarily modify the execution policy if it is not set to Unrestricted. Check the current execution policy by running the following command:

Get-ExecutionPolicy

If the execution policy is not Unrestricted, change it to Unrestricted by running:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted

After executing your scripts, you can revert the execution policy to its original setting if needed.

Get full help on script usage help:

Get-help ./Start-AMBA-ALZ-Maintenance.ps1

Show output of what would happen if deletes executed:

./Start-AMBA-ALZ-Maintenance.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -cleanItems NotificationAssets -WhatIf

Execute the script asking for confirmation before deleting the resources deployed by AMBA-ALZ:

./Start-AMBA-ALZ-Maintenance.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -cleanItems NotificationAssets

Execute the script without asking for confirmation before deleting the resources deployed by AMBA-ALZ.

./Start-AMBA-ALZ-Maintenance.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -cleanItems NotificationAssets -Confirm:$false