Every attempt I have made across the past month to add Monitoring Rules to Virtual Machines or Cloud Services within our Azure subscription results in an error, and the error itself is not providing any useful information (it seems to be pointing to a non-existent microsoft schema:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">{"Code":"BadRequest","Message":""}</string>
Steps to Recreate:
- Login to Azure Management Portal (Standard - not the Preview portal)
- Choose Virtual Machines
- Choose a Virtual Machine from the list
- Choose the 'Monitor' option
- Choose 'Add Rule' from the bottom ribbon
- Complete first screen of rule information (Name, Description - Alpha characters only)
- Click Next Arrow
- Complete Next Screen ('Greater than', 70, 'Average over the last five minutes')
- Choose either of the Actions for email options, complete relevant information
- Tick 'Enable Rule' (ticked by default)
- Tick Check Box to complete and submit
System provides a notification in the bottom ribbon that it
Could not create rule 'RuleName'.
Clicking 'Details i' Provides an error message that in itself seems to be an error attempting to access a microsoft library element:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">{"Code":"BadRequest","Message":""}</string>
The url referenced leads to the following error message:
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
I am looking for a solution that will allow me to complete the creation of the rule - the badly formed error message / updated schema would only be helpful if it led to a better understanding
of the error.
The same result is obtained when attempting to create an email alert / rule through the Management Services module in the portal.