none
Deleted blobs still showing in Portal

    Question

  • I've run a process to delete approximately 1500 blobs from my Azure storage service. The code I've used to do this is...

    var blob = BlobStorageContainer.GetBlockBlobReference(blobName);
    
    if (await blob.ExistsAsync(cancellationToken))
    {
        await blob.DeleteAsync(cancellationToken);
    }

    ...in a loop.

    I went through both the Azure Portal and Azure Storage Explorer, and it looks like all the blobs that should have been deleted are still there. However, when I try to actually access the file via the URL, I get a ResourceNotFound error. So it seems the data has been deleted, but the storage service seems to think that the blob should still be there. Am I doing something wrong, or does the storage service need time to catch up to all the delete operations I performed?

    Monday, December 21, 2015 8:09 PM

All replies

  • Hi Dan,

    To me it sounds like you have done what you need to and just have to wait until the async tasks return.

    Thanks,

    Brent

    Monday, December 21, 2015 8:44 PM