This breaks any update for settings that are utilizing recurrence rules as both a fixedDate and recurrence rule cannot be used together, and will also obviously make unintended changes to any Autoscale Settings even when the command succeeds
There is not error output unless fixedDate parameter causes a conflict, in which case the error output is the Autoscale API not accepting the parameters.
Otherwise the command will succeed, but will perform a change to the scale setting that isn't intended.
Description
Performing an Update-AzAutoscaleSetting command always appends a piece to the requestBody that is not derived from the existing Autoscale Setting.
The following always appears to be appended:
, "fixedDate": { "timeZone": null, "start": "0001-01-01T00:00:00Z", "end": "0001-01-01T00:00:00Z" } } ]
This breaks any update for settings that are utilizing recurrence rules as both a fixedDate and recurrence rule cannot be used together, and will also obviously make unintended changes to any Autoscale Settings even when the command succeeds
Issue script & Debug output
Environment data
Module versions
Error output