You can use Graph API to update a WebApp. It is in beta though, not suited for production use.
Hope this helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I'd need to add a custom domain to a WebApp hosted on Azure Germany and I should do it from another API backend. I found a solution, but I'd need to use a PowerShell command which I cannot run from the API backend since it's hosted on Azure as well. Is there any alternative maybe using REST API?
Thanks in advance,
Stefano
You can use Graph API to update a WebApp. It is in beta though, not suited for production use.
Hope this helps.
Thank you @Cristian SPIRIDON , but it seems the custom domains are not (yet?) supported on Graph API. Also, considering Azure Germany is going to be dismissed within 1 year and the Graph API are in beta in Azure Global, I guess they will be never available on Azure Germany.
Thank you anyway,
Stefano
The below links allow you to use REST API to update either 1st party (Azure purchased certs) or 3rd party (such as GoDaddy or whomever) certs.
1st party: https://learn.microsoft.com/en-us/rest/api/appservice/appservicecertificateorders
3rd party: https://learn.microsoft.com/en-us/rest/api/appservice/certificates
Azure App Service Rest APIs (if you're interested in more than just certificate REST APIs for app service): https://learn.microsoft.com/en-us/rest/api/appservice/
Let me know if this doesn't address your question, otherwise please mark this as the answer to help guide others who have the same question in the future.