How to disable the Azure front door cdn profile (using Azure Front Door Classic tier)

Sadanand Khatri 40 Reputation points
2023-03-15T16:07:21.05+00:00

Hello,

I want to check the availability for the Azure front door cdn profile () and to test it I want to disable Azure front door profile. Could you please help me any code C#(REST API)/Powershell to disable Azure front door profile?

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

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 22,856 Reputation points Microsoft Employee
    2023-03-16T00:54:51.18+00:00

    @Sadanand Khatri

    Thank you for reaching out.

    You can run the Front Doors - Create Or Update Rest API to disable your Azure front door cdn profile ( Azure Front Door Classic tier). I tried it on my end and was successful in disabling the profile.

    User's image

    In order to set the request body in required format for the Rest API above, I will recommend that you run the Get API all first and then use the response you get as request body in the update rest Api.

    You have to set the field marked below as Disabled in your request body. This field will be at the end of the JSON body. I had to wait for few minutes (5-10 mins) before the profile was disabled.

    User's image

    Hope this helps!


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