Hi
with inspiration from this: http://axtechnicalblogger.blogspot.com/2019/11/upload-files-to-azure-blob-from-d365-fo.html
I can upload a stream to a azure blob container, but the 'file' in the container is of type 'application/octet-stream' when in fact it is a 'application/pdf'
Here is some more information:
I'm reading emails from a Office 365 mailbox, and if there is any attachments and the attachment is of type PDF ('application/pdf') I store the file in a Azure blob container for futher processing.
Storing is working, but the type is not correct
I have tries omething like this: https://stackoverflow.com/questions/10040403/set-content-type-of-media-files-stored-on-blob
But I am not 'allowed' to set the content type
Any hint on how to do this is D365/x++ is highly appreciated
Thanks