Custom Metadata

SHARMA, BHAWANA 21 Reputation points
2021-02-16T17:50:59.85+00:00

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,978 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 37,746 Reputation points Microsoft Employee
    2021-02-16T20:15:22.703+00:00

    @SHARMA, BHAWANA

    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
    2021-02-16T20:56:52.073+00:00

    Thanks. This is helpful.

    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.