Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to latest syntax for action groups #466

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

akanieski
Copy link

Running the AZTS Install-AzSKTenantSecuritySolution command displays an error message during operation. It appears to stumble over the creation of the Action Groups for Azure Monitor alerts.

VERBOSE: 16:30:41 - Creating monitoring alerts...
The term 'New-AzActionGroupReceiver' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.                   

After researching I found that current Azure Powershell cmdlet's syntax has changed. That being said I took the time to move to the latest syntax to address this error.

Prior Version
https://learn.microsoft.com/en-us/powershell/module/az.monitor/new-azactiongroup?view=azps-0.10.0
New Version
https://learn.microsoft.com/en-us/powershell/module/az.monitor/new-azactiongroupemailreceiverobject?view=azps-12.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant