Here is PowerShell script to purchase AppService Domain. Steps: Copy this below PowerShell script to a local file Rename it to CreateNewDomain.ps1 Copy the ARM template to file Rename it to CreateNewDomain.json and save it in the same folder as CreateNewDomain.ps1 Now execute CreateNewDomain.ps1 ARM Template