question

FerrisWheel-1954 avatar image
0 Votes"
FerrisWheel-1954 asked ·

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

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
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@FerrisWheel-1954 Just following up to see if my answer below helped you, if so please don’t forget to "Accept the answer" and “up-vote”. Feel free to reply to that answer with any follow-up questions you may have. Thanks.

<<Private message note: This is a private message which only you as Original Poster and Microsoft Moderators can view. Please respond directly to this comment to privately share the requested information. For your privacy, please do not share any Personal Identifiable Information (PII) as a public or private comment. All the private messages on the platform will be deleted on periodic basis>>

0 Votes 0 ·

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered ·

@FerrisWheel-1954
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://docs.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.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.