Is it is possible to add metadata from Dynamics 365 to Azure Blob Storage?

Ferris Wheel 1 Reputation point
2021-03-02T11:43:46.61+00:00

Hi all,

I want to know whether it is possible to add metadata to Azure Blob Storage from Dynamics 365.
To be more precise, Can I add metadata when I am uploading a file in Dynamics 365 which will be stored in Azure blob?

Example: I have a metadata field in Azure blob container, If I have the same field in Dynamics 365, Can I add value to that field while uploading the file in Dynamics. And will it reflect in the Azure blob?

Thank you..

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

1 answer

Sort by: Most helpful
  1. deherman-MSFT 33,456 Reputation points Microsoft Employee
    2021-03-03T17:38:56.077+00:00

    @Ferris Wheel
    You can set metadata on the blob before calling to upload.

    Set Blob Metadata

    You can see the available response ( metadata) that is available for the blob: https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-properties#sample-response

    You can leverage Get Blob Metadata and Set Blob Metadata REST API to understand which metadata are default and which can be tweaked.

    Since you are uploading via Dynamics you will need to see if the metadata added is a match for the Azure Blob side. I recommend reaching out via the Dynamics 365 community forum to see how metadata is added on their side.

    See also:
    Setting and retrieving properties and metadata for Blob service resources
    Manage blob properties and metadata with .NET

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

    -------------------------------

    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