User Profile
snehith
Joined 9 years ago
User Widgets
Recent Discussions
Re: New V2 alert from PowerShell
Pedro35 , sarbis Cmdlets for new metric alerts are now available. Please see https://docs.microsoft.com/en-us/powershell/azure/release-notes-azureps?view=azps-1.8.0#azmonitor and https://docs.microsoft.com/en-us/powershell/module/az.monitor/add-azmetricalertrulev2?view=azps-1.8.0 Regards, Snehith6.6KViews1like1CommentRe: New V2 alert from PowerShell
Hi sarbis, We expect PowerShell cmdlets for newer metric alerts to be available by end of March. Please subscribe to https://azure.microsoft.com/en-us/updates/?updatetype=management or keep an eye out on What's new tab in Azure Monitor to get notified when we release this. Regards, Snehith7KViews1like3CommentsRe: New V2 alert from PowerShell
Hi Gourav, The cmdlet you are using is for classic metric alerts in Azure Monitor. Classic metric alerts didn't support action groups and used a custom notification mechanism. We don't yet have PowerShell cmdlets for newer metric alerts. We are actively working on those and will provide an announcement once they are ready. In the meanwhile, if you are trying to create metric alerts, you can use Azure CLI to automate creating alerts. You can also create action groups through CLI as well. If you trying to create log alerts based on Kusto queries, today the only way to automate it is through ARM templates. The PS cmdlets and CLI are being worked on, but are not available yet. Regards, Snehith7.4KViews0likes6Comments
Recent Blog Articles
Accelerate your cloud migration journey with Azure Arc resource discovery in Azure Migrate (preview)
With Azure Migrate's new Arc-based discovery (preview), you can leverage your existing Arc-enabled servers and Arc-enabled SQL Server instances to quickly gain insights into: Migration readiness ...332Views1like0Comments