Azure Front Door CORS : OPTIONS call failing

Rishabh Dugar 1 Reputation point Microsoft Employee

HI Community,

I have a api-app service which is access restricted and enabled only from Front Door.
In my front door i have setup forwarding rule as mentioned in DOCS to enable cors but the OPTIONS call always seems to fail with 405.


My Rule Set in AZ Front Door

Any similar experience in the group and possible pointers please?

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

1 answer

Sort by: Most helpful
  1. Rishabh Dugar 1 Reputation point Microsoft Employee

    I was finally able to resolve this by add web app's DNS/URL to api app CORS policy.
    After adding Front DOOR DNS to CORS setting of api app , error changed from 405 to 400 and later it was successful after adding webapp's dns to cors setting.

    0 comments No comments