I have Azure Static Web Apps with one or more custom domains. I create the static web app and the custom domains via azure powershell.
In the Azure Portal I can set the default domain like this.
My problem is, I don't know how I can achieve this via Azure Powershell and couldn't find any help for that. How can I set a custom domain as default using Azure Powershell?