question

EvanMulawski avatar image
0 Votes"
EvanMulawski asked ·

Cannot save changes to rules engine when using rule with the "Any" operator

When saving rules via the Rules Engine, a recent Azure backend change has resulted in an error being returned when using the "Any" operator for a rule. My last successful save was Fri May 22 2020 15:01:51 GMT-0400 (Eastern Daylight Time), so the issue was introduced after this time. When will this be resolved?

Related: https://social.msdn.microsoft.com/Forums/en-US/5a3e9cd7-4fe1-4962-9ec4-2da4266c2d56/deployment-issues-with-arm-template-number-of-elements-within-the-collection-are-not-within-the?forum=azurecdn

Error message:

BadRequest: The number of elements within the collection 'Endpoint.DeliveryPolicy.Rules[2].Conditions[0].Parameters.MatchValues' are not within the minimum and maximum acceptable range for number of elements [1-10]

9138-capture.png



CDN Tier: Microsoft (S3)

azure-cdn
capture.png (60.8 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

suvasara-MSFT avatar image
0 Votes"
suvasara-MSFT answered ·

Greetings,

Our team is aware of this bug and they are working on mitigating the bug for permanent solution and they do not have an exact ETA for us.
So, the current workaround is not to use any/not any operator and use other operators to construct always true condition.

Apologies for the inconvenience caused and thank you in advance for understanding.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.