Azure front Door routing rule not working throws error "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

Rashmi Sajjan 56 Reputation points
2021-10-13T10:53:03.127+00:00

I have created an azure app service(basic one, with a basic html page)
I have created Front Door, added as Front end, added App service as back end pool and created a rule which has 2 paths
/* and /path

I have this saved, so accessing from main front door open web app properly but opening from path /path throws error

"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
582 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,929 questions
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 47,686 Reputation points Microsoft Employee
    2021-10-13T12:57:29.907+00:00

    Hello @Rashmi Sajjan ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    Are you able to access your webapp on the configured path directly bypassing the AFD?

    If you want to access the backend pool (web app in your case) based on the path URL with Azure front door, you must make sure the virtual path exists on your web app. For example, you have to add the virtual directory /path (like /new in the below example) in your app service like this:

    140291-image.png

    Refer : https://learn.microsoft.com/en-us/azure/app-service/configure-common#configure-path-mappings

    So you could access your web app via URL https://xxx.azurewebsites.net/new.
    Then you could add */new/** or /new in the PATTERNS TO MATCH and modify the Forwarding protocol to match request in your routing rule of Azure Front door:

    140292-image.png

    After this, you could access the URL frontdoor.azurefd.net/new for your web app.

    For more reference: https://learn.microsoft.com/en-us/azure/frontdoor/front-door-route-matching

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful