Wait until you see the prompt from the console.
1. Select **Copy** from the previous code block to copy the PowerShell script.
1. Right-click the shell console pane and then select **Paste**.
1. Enter the values.
The template deployment creates an Azure Front Door with a web app as origin.
The resource group name is the project name with **rg** appended.
> [!NOTE]
> **frontDoorName** needs to be a globally unique name for the template to deploy successfully. If deployment fails, start over with Step 1.
It takes a few minutes to deploy the template. When completed, the output is similar to:
:::image type="content" source="./media/quickstart-create-front-door-template/front-door-standard-premium-template-deployment-powershell-output.png" alt-text="Azure Front Door Resource Manager template PowerShell deployment output":::
Azure PowerShell is used to deploy the template. In addition to Azure PowerShell, you can also use the Azure portal, Azure CLI, and REST API. To learn other deployment methods, see [Deploy templates](../azure-resource-manager/templates/deploy-portal.md).
## Validate the deployment
1. Sign in to the [Azure portal](https://portal.azure.com).
1. Select **Resource groups** from the left pane.
1. Select the resource group that you created in the previous section. The default resource group name is the project name with **rg** appended.
1. Select the Azure Front Door you created previously and you'll be able to see the endpoint hostname. Copy the hostname and paste it into the address bar of a browser. Press enter and your request will automatically get routed to the web app.
:::image type="content" source="./media/create-front-door-portal/front-door-web-app-origin-success.png" alt-text="Screenshot of the message: Your web app is running and waiting for your content.":::
## Clean up resources
When you no longer need the Azure Front Door service, delete the resource group. This will remove the Azure Front Door and all related resources.
To delete the resource group, call the `Remove-AzResourceGroup` cmdlet: