Skip to content

[BUG] ShareFileClient.GetProperties() returns empty metadata #53729

@andrej-kr

Description

@andrej-kr

Library name and version

Azure.Storage.Files.Shares 12.24.0

Describe the bug

I have successufully set some metadata using the SetMetadata method. The metadata is visible in Microsoft Azure Storage Explorer, however when I try to read the metadata in c# with ShareFileClient.GetProperties() it is always empty

Expected behavior

return the user defined metadata

Actual behavior

The metadata field is empty

Reproduction Steps

.

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue is related to a non-management packageService AttentionWorkflow: This issue is responsible by Azure service team.StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions