Frontdoor - Associate endpoint with a route - for a custom domain

James McLaren 110 Reputation points
2023-12-15T11:11:03.2233333+00:00

Looking for bicep or powershell example code that can be added to an Azure pipeline to associate a frontdoor custom domain with a frontdoor endpoint and a frontdoor route.

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

Accepted answer
  1. GitaraniSharma-MSFT 49,696 Reputation points Microsoft Employee
    2023-12-15T11:28:54.6933333+00:00

    Hello @James McLaren ,

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

    I understand that you are looking for Azure Bicep or PowerShell example codes to create an Azure Front Door with an endpoint and a route associated to a custom domain.

    You can find all the ARM or Bicep quickstart templates to deploy Azure Front Door in the below doc:

    https://learn.microsoft.com/en-us/azure/templates/microsoft.network/frontdoors?pivots=deployment-language-bicep#quickstart-templates

    Below doc has the ARM and Bicep templates that creates a Front Door configuration with a single backend, onboards a custom domain, and then secures the custom domain with a Front Door-managed certificate.

    https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.network/front-door-custom-domain

    You can check the main.bicep file.

    We don't have a full PowerShell tutorial for Azure Front Door custom domain but it is available with Azure CLI, if you are interested. Below is the doc for reference:

    https://learn.microsoft.com/en-us/azure/frontdoor/scripts/custom-domain

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.