7
votes

So I have SSL certificate bought directly using Azure portal.

Now I migrated from Azure and want to delete every resource from Azure except my SQL Server and database.

When I try to delete App Service Certificate I have this error:

Operation name Delete the App Service Certificate Time stamp Tue May 30 2017 11:47:36 GMT+0200 (W. Europe Standard Time) Event initiated by - Description Failed to delete the App Service Certificate. : Delete for 'JerrySwitalski' App Service Certificate failed because there are still imported certificates derived from the App Service Certificate in the source subscription. Imported certificates: /subscriptions/77cf2897-8c03-413c-8e16-38ea0e025d72/resourceGroups/01/providers/Microsoft.Web/certificates/JerrySwitalski-01-SouthCentralUSwebspace,/subscriptions/77cf2897-8c03-413c-8e16-38ea0e025d72/resourceGroups/01/providers/Microsoft.Web/certificates/JerrySwitalski-01-WestEuropewebspace

As you can see below, I have only SQL Server and database and this certificate: enter image description here

How can I remove for good this certificate?

2

2 Answers

8
votes

Go to azure resource portal (https://resources.azure.com ) and navigate to subscriptions --> specific subscription --> providers --> Microsoft.Web --> certificates and see if it is here and i think you can delete it from here directly.

6
votes

Delete a certificate in Azure Resource Explorer

  1. Access to: resources.azure.com
  2. Expand "Subscriptions"
  3. Expand "Resource groups"
  4. Look and expand the resource group where the certificate is
  5. Expand "Microsoft.web"
  6. Click on "Certificates"
  7. Choose the certificate you want to delete
  8. Make sure you have selected on the top read/write and then hit on "Delete"