-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from Azure/Dev
Merging Dev into main to include latest commits about work items #32151, #32068, #31953
- Loading branch information
Showing
33 changed files
with
5,980 additions
and
4,675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
docs/content/patterns/alz/UpdateToNewReleases/Update_from_release_2023-11-14.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: Update from release 2023-11-14 | ||
geekdocCollapseSection: true | ||
weight: 100 | ||
--- | ||
|
||
## Post update actions | ||
|
||
Updating from release 2023-11-14 will require running a post update script to remove the old Service Health action group(s) no longer in use. | ||
|
||
To run the script, follow the instructions below: | ||
|
||
1. Open PowerShell | ||
2. Install the **Az.ResourceGraph** module: `Install-Module Az.ResourceGraph` | ||
3. Change directories to the location of the **Start-AMBAOldArpCleanup.ps1** script | ||
4. Configure the _**$pseudoRootManagementGroup**_ variable using the command below: | ||
|
||
```powershell | ||
$pseudoRootManagementGroup = "The pseudo root management group id parenting the identity, management and connectivity management groups" | ||
``` | ||
|
||
1. Sign in to the Azure with the `Connect-AzAccount` command. The account you sign in as needs to have permissions to remove Policy Assignments, Policy Definitions, and resources at the desired Management Group scope. | ||
|
||
2. Execute the script using one of the options below: | ||
|
||
**Generate a list of the resource IDs which would be deleted by this script:** | ||
|
||
```powershell | ||
./Start-AMBAOldArpCleanup.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -ReportOnly | ||
``` | ||
|
||
**Show output of what would happen if deletes executed:** | ||
|
||
```powershell | ||
./Start-AMBAOldArpCleanup.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -WhatIf | ||
``` | ||
|
||
**Delete all resources deployed by the ALZ-Monitor IaC without prompting for confirmation:** | ||
|
||
```powershell | ||
./Start-AMBAOldArpCleanup.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -Force | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.