saurabhseth Thanks for the post…
Is this a bug? I encountered an issue when switching between Automatic and Rules-Based scaling. There is no indication or message when the change is made. I only realized there was a problem after saving my Rules under the Autoscale settings and then clicking back, only to see that Automatic was still selected.
While reviewing the run history, the Autoscale status displayed as "failed." The diagnostics showed the following error, which seemed a bit unusual:
"Rule-based AutoScale is not supported with AutomaticScaling. This is invalid."
The full error message was:
Scale action failed with error: {"Code":"BadRequest","Message":"Rule based AutoScale is not supported with AutomaticScaling is invalid.","Target":null,"Details":[{"Message":"Rule based AutoScale is not supported with AutomaticScaling is invalid."},{"Code":"BadRequest"},{"ErrorEntity":{"ExtendedCode":"51012","MessageTemplate":"{0} is invalid.","Parameters":["Rule based AutoScale is not supported with AutomaticScaling"],"Code":"BadRequest","Message":"Rule based AutoScale is not supported with AutomaticScaling is invalid."}}],"Innererror":null}
This suggests that the system is not properly handling the switch between scaling modes, which could potentially lead to misconfigurations.