Custom Metadata

SHARMA, BHAWANA 21 Reputation points

Is there a limit on user defined metadata for Azure Blob?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,084 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 30,461 Reputation points Microsoft Employee


    The metadata consists of name/value pairs. The total size of all metadata pairs can be up to 8KB in size. More information in the documentation here.

    Metadata name/value pairs are valid HTTP headers and should adhere to all restrictions governing HTTP headers. Metadata names must be valid HTTP header names and valid C# identifiers, may contain only ASCII characters, and should be treated as case-insensitive. Base64-encode or URL-encode metadata values containing non-ASCII characters.

    The name of your metadata must conform to the naming conventions for C# identifiers. Metadata names maintain the case used when they were created, but are case-insensitive when set or read. If two or more metadata headers using the same name are submitted for a resource, Azure Blob storage returns HTTP error code 400 (Bad Request).

    Blob index tags also provide the ability to store arbitrary user-defined key/value attributes alongside an Azure Blob storage resource. While similar to metadata, only blob index tags are automatically indexed and made searchable by the native blob service. Metadata cannot be indexed and queried unless you utilize a separate service such as Azure Search.

    To learn more about this feature, see Manage and find data on Azure Blob storage with blob index (preview).

    Hope this helps. Let us know if you have further questions or issues and we will be happy to help.


    Please don’t 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

1 additional answer

Sort by: Most helpful
  1. SHARMA, BHAWANA 21 Reputation points

    Thanks. This is helpful.

    0 comments No comments