Blob versioning is enabled but version id is blank

Rajat Saxena (NON EA SC ALT) 41 Reputation points
2023-09-19T09:23:25.14+00:00

I would like to clarify the behavior of blob versioning in a scenario where it was initially disabled, then you updated the blob data, and finally, you enabled versioning for the first time. In this situation, the version id appears to be blank. Is this behavior expected?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ramya Harinarthini_MSFT 5,366 Reputation points Microsoft Employee Moderator
    2023-09-20T05:58:50.0933333+00:00

    @Rajat Saxena (NON EA SC ALT) Welcome to Microsoft Q&A, thank you for posting your here!!

    This is expected behavior only after you enable blob versioning for a storage account, every write operation to a blob in that account results in the creation of a new version with version ID.

    User's image

    Source Link:https://learn.microsoft.com/en-us/azure/storage/blobs/versioning-overview#recommended-data-protection-configuration

    Blob versioning is in disabled state on the Storage accountUser's image

    Upload an empty abc.txt file and edited the content to the blob and you can see there is no blob version created as blob versioning is not enabled at this stage.User's image

    Enabled blob versioning on the Storage accountUser's image

    added some content to the text file

    User's image

    Now you can see the version id created as the versioning was already enabled at this stage.User's image

    Hope this helps!
    Kindly let us know if the above helps or you need further assistance on this issue.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.