This PowerShell script sample shows how to break the locked lease of blob storage in Windows Azure.
Windows Azure provides functionality to acquire lock on blobs to avoid concurrent writes to blobs. Sometimes, if the backup fails due to prolonged or sustained network connectivity failure, the backup process may not be able gain access to the blob and the blob may remain orphaned. This means that the blob cannot be written to or deleted until the lease is released. In this case, you might want to break the lease on a blob. This script can help you.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery