Azure: impossible to delete an Azure Storage Container due to a lease

When cleaning the resources in my Azure subscription, I tried to empty a Storage Container and I got the following message:

There is currently a lease on the container and no lease ID was specified in the request…

The problem was caused by some Virtual Machines images I had created as a test. It has been enough to delete these images (from the Virtual Machine section, then Images) to then be able to delete the Storage Container.

Azure: how download the whole Azure website as zip file - and other useful tools

I needed to download my local Azure website as single zip file (to improve download speed, compared with thousands of files downloads via ftp).

I've found the article Windows Azure Websites online tools you should know about that describes in detail the SCM website.

Pratically it uses the Azure REST api to give a lot of information about your website. Debugging it (with Fiddler, for example) you can analyze and study them. And also from the menu, going to Debug Console | PowerShell, you can browse your folder structure and zip what you want to download quickly.

The link to open is: https://{site name}

Azure Websites: how install a SSL certificate

In my website I wanted to install a SSL certificate for my login page.

I got a certificate from DigiCert - luckly as a Microsoft employee, we can them for free - Thank you Paul !


  1. if you still don't have it, you have to register your Azure Website with a custom domain name, as described in Configure a custom domain name in Azure App Service
  2. you need to configure your Azure Website with Scale=Standard
  3. then, rather than following the official guide Enable HTTPS for a web app in Azure App Service, I have followed the simpler DigiCert guide Windows Azure Website: Create CSR & Install SSL Certificate
  4. finally modify the web.config of your application to force the login page or all the resources in https
It's worth noting that in case you have some warnings because of mixed http and https resources, you can use the very useful tool Why No Padlock? to find hardcoded protocols in your page. For example, for external resources to your site, you want to be protocol agnostic prepending the external resources with "//".