https://techcommunity.microsoft.com/discussions/microsoftdefendercloud/is-setting-an-index-tag-in-azure-defender-for-cloud-during-file-write-an-atomic-/4436620

Iacono, Vito 6 Reputation points
2025-07-25T11:22:55.5866667+00:00

Hi, When using Azure Defender for Cloud, is setting an index tag at the same time as writing a file considered an atomic operation? Or is there a propagation delay before the tag becomes fully available and effective for search and policy enforcement? Any insights or official documentation references would be appreciated!

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

1 answer

Sort by: Most helpful
  1. Iacono, Vito 6 Reputation points
    2025-07-25T13:31:40.0233333+00:00

    Hi Pranay,

    Thanks for your quick response and for sharing the documentation links.

    My use case is quite straightforward: I would like to upload a file to Azure Blob Storage with an index tag in a single operation, and then read that file immediately after the upload completes. The files are typical business documents, and their sizes range from a few KB up to several MB.

    My main concern is about ABAC policies that evaluate access permissions based on blob index tags. If I attempt to read the file right after upload, but the tag hasn’t propagated yet and the policy checks for the tag, I might encounter an authorization mismatch that doesn’t reflect the intended permissions.

    Could you clarify if there is a recommended best practice or workaround to ensure that the index tag is available and effective for policy enforcement before attempting a read operation? Is there any way to programmatically confirm that the tag has been fully propagated?

    Thanks again for your assistance!

    Best regards, Vito


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.