Facing issue while deleting the azure storage blob with 0 Byte size which has the lease state as "Leased". While creating the blob it automatically creates with the Leased state only when the size is 0, whereas when the size is more that 0 Bytes the state is "Available" and the deletion of blob is not an issue.
We are able to delete the 0 Byte file after a minute when the state changes to "Expired" but I have a scenario where the deletion should happen immediately.
Error obtained during deletion of blob
"message": "There is currently a lease on the blob and no lease ID was specified in the request."