PowerShell incomplete list of Azure Alert Rules returned

Mark Dowd 1 Reputation point
2020-10-20T16:47:56.193+00:00

Having logged into Azure from PowerShell, when I try to retrieve Alert Rules using "az monitor metrics alert list" I only get a partial list of rules returned, specifically the one of Signal Type "Metrics". How do I get alert rules of type Log Search and others?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,317 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.