Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,500 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello I am using powershell to map custom hostname to azure app service - https://learn.microsoft.com/en-us/azure/app-service/scripts/powershell-configure-custom-domain
It is working as expected. But it is removing all the existing custom domains.
Is there a way to add one more custom domain instead removing all the domain names and add the new one using Power Shell.
I guess you could add a step in your script to get current hostnames (with Get-AzWebApp), put them in an array, add your new custom hostname to that array and pass that array as a the value to -HostNames