I need to add custom domain to Azure static web app by an automate process. Eg: I have a web app and it has admin side and user side. A new user registered to the admin app they can add a new subdomain to the user app.
So I want to add that created subdomain details to the azure static web -> custom domain when newly registered user of the admin app finish the registration.
Can some one navigates through the process, how to archive this.
Thank you.
What you are attempting to do can be done from the command line. Checkout https://learn.microsoft.com/en-us/cli/azure/staticwebapp/hostname?view=azure-cli-latest