I couldn't resolve cmdlets related errors for below cmdlets:
So, I started creating alert rule based on documentation ( Link)
Successfully executed example reference alert rule creation query (Link).
Considering as a reference trying to create alert rule for Machine learning workspace pipeline failure but getting error "New-AzScheduledQueryRuleConditionObject: Cannot process argument transformation on parameter 'Query'. Cannot convert value to type System.String."