An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Please try and see if you can use the 'az monitor scheduled-query update' command can be used to make the necessary updates to the alert rules. This approach was validated in a lab environment to ensure its effectiveness and to address any semantic/syntax errors.