@HouMez ,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to forward 100% of the traffic to Webapp1.
Your Environment :
Two Origin Groups:
- Origin Group 1: Webapp 1 with priority 1 and Webapp 2 with priority 2
- Origin Group 2: Webapp 2 with priority 1 and Webapp 1 with priority 2
Two separate Routing Rules:
- Rule 1: Route traffic to Origin Group 1 for Frontend url A
- Rule 2: Route traffic to Origin Group 2 for Frontend url B
Analysis:
From your configuration,
- It appears correct.
- All the traffic should arrive at Webapp1 as long as it's up and available.
- See : Traffic routing methods to origin - Overall decision flow
Azure Support found that certain POPs marked the origin as unhealthy for a short time.
This resulted in the discrepancy in the routing decision.You may keep the environment in observation for a while and see if the issue reemerges or not.
Kindly let us know if this helps or you need further assistance on this issue.
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.