Rules engine configuration rules

Jarosław Bortel 21 Reputation points
2022-09-12T13:00:42.227+00:00

Hi guys!

I'm using the Azure Front Door Classic pricing tier and the Rules engine configuration to define routing rules. As the documentation says, there should be a condition operator called "RegEx" -> https://cutt.ly/fCKmieC. Unfortunately, I can't see that on the list. What's the problem? Is it available on the AFD Classic?

If not, so what can I do to configure routing for the request path "users/{userId}/avatar", where "{userId}" is not a const string, but GUID. I've tried to use a wildcard "users/*/avatar", however this solution doesn't seem to work.

Thanks for any suggestions!

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
850 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 49,536 Reputation points Microsoft Employee Moderator
    2022-09-14T08:22:42.487+00:00

    Hi @Jarosław Bortel ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
    I understand that you are trying to use "Regex" under Rule Engine of classic AFD.

    "Regex" and "NotRegex" operators are not supported under classic AFD Rules Engine.

    To make use of the above, we would be required to upgrade to Standard/Premium AFD Plan.

    I have created an internal work item to update the document and it should reflect soon.

    Thanks,
    Kapil

    ----------------------------------------------------------------------------------------------------------------

    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.