azure-sdk-for-net: [BUG] Blob container's metadata is always empty when listed

Describe the bug I’m using the Azure.ResourceManager.Storage sdk and the StorageManagementClient client, and calling client.BlobContainers.ListAsync. The returned list of ListContainerItem has a property called Metadata, which is basically the same as tags. The issue is that the Metadata I see on the blob container in the azure portal isn’t in the returned ListContainerItem, instead it is always an empty IDictionary. On the contrary, when I fetch the blob container with client.BlobContainers.GetAsync, the Metadata is returned correctly.

Expected behavior The Metadata will be present in the returned ListContainerItem.

Actual behavior (include Exception or Stack Trace) The Metadata property is an empty IDictionary.

To Reproduce

  1. Create a StorageManagementClient client.
  2. Call client.BlobContainers.ListAsync.
  3. See that the Metadata is always empty

Environment:

  • Azure.ResourceManager.Storage - 1.0.0-preview.2
  • Windows 10, .NET Framework 5
  • e.g. Visual Studio 16.8.3

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (10 by maintainers)

Most upvoted comments

@omri-muszkal Actually, the issue is on server side instead of Client (SDK) side. (Both Arthur and me works on client side.) So we will need server team to update server by return the container metadata to fix this issue?

We have contact server team, and a bug is already opened. However, it looks the issue is still not fixed on server side.

To make server team understand the importance and priority of this issue, you might can also try to connect to Server team with your channel, such like open a help request from Azure portal. image