Is API support available for creating App Service Managed Certificates using the Microsoft.Azure.Management.AppService.Fluent

Anuraj 166 Reputation points MVP
2020-05-05T13:12:30.093+00:00

I am building a SAAS application running on Azure App Service. For provisioning custom tenants with Subdomains I am using the App Microsoft.Azure.Management.AppService.Fluent C# API. For provisioning SSL certificates, I was using App Service Managed Certificates manually via Portal. As part of automating it, is there an API available for provisioning App Service Managed Certificates?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,865 questions
0 comments No comments
{count} vote

Accepted answer
  1. Ryan Hill 25,661 Reputation points Microsoft Employee
    2020-05-11T16:57:36.277+00:00

    Hi @Anuraj ,

    There isn't API support available just yet. The team is working towards that goal. However, there is a current workaround for using a powershell command, see https://github.com/Azure/azure-powershell/issues/10518. Now I realize powershell isn't the best option; however, perhaps https://learn.microsoft.com/en-us/archive/blogs/kebab/executing-powershell-scripts-from-c will give some ideas on how to execute your powershell from your SaaS.

    Furthermore, you should be made aware that app service managed certificates do not support wildcard domains as noted in https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate#create-a-free-certificate-preview.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful