Hi Renan Stigliani,
Welcome to Microsoft Q&A forum.
The error you received, "Profile's composite route limit is exceeded," indicates that your current setup may have surpassed the limit set for the number of routes, domains, and paths associated with your Front Door profile.
So, here we gather some suggestions for you , can follow them.
- Check Composite Route Limit: Each Front Door profile has a composite route limit of 5000. You can calculate your profile's composite limit by considering the number of domains (both HTTP and HTTPS) and the paths associated with each route.
Reference link:https://learn.microsoft.com/en-us/azure/frontdoor/front-door-routing-limits#calculate-your-profiles-composite-limit
2.If your profile's composite route metric exceed 5000, consider the following mitigation strategies:
- Deploy multiple Front Door profiles, and spread your routes across them. The composite route limit applies within a single profile.
- Use wildcard domains instead of specifying subdomains individually, which might help to reduce the number of domains in your profile.
- Require HTTPS for inbound traffic, which reduces the number of HTTP routes in your profile and also improves your solution's security.
3.Removing Routes:
Before you can delete domains, you might need to ensure that any routes associated with them are completely disassociated. Try doing this in the Azure portal directly if removing via CLI continues to give you trouble.
4.Validate Your Configuration: Verify your current route setup in Azure Front Door Manager to ensure you are aware of how many domains and paths you are using. If you need help calculating your profile’s composite limit, please refer to below link
Hope, you find this comment helpful, if yes, please “up-vote” for the information provided , this can be beneficial to community members.
Kindly let us know if you have any additional questions.
Thanks