Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to use D365 F&O with blob storage

(0) ShareShare
ReportReport
Posted on by 15

Hi All, 

I hope I´m correct here, If not please let me know ;-)

We would like to know something around the funcionalitiy of Dynamics 365 F&O and the Blob Storage behind it. 

Currently, we move some specific Invoices to the blob storage and copy this pdf files via batch job and power shell script to our local file server. This workes in prinicipial quite good, the problem is, that the used key to make this possible expires after 30 days. Does anybody know how we can extend this time or if it is possible to move those files directly to our file server without using the blob storage?

Thanks in advance fr your help. 

BR

Sascha 

  • How to use D365 F&O with blob storage
    Hello Sacha,
     
    Could you please help me on how exactly are you able to move free text invoices to blob storage?
    I have similar requirement.
     
     
    Thanks
    Hari
  • SaschaJ Profile Picture
    SaschaJ 15 on at
    RE: How to use D365 F&O with blob storage

    Correct, I meant the SAS Token. I can´t extend the date range when it´s expire because than the power shell ends up with an error.

    This is the powershell script we use:

    azcopy.exe copy "https://*.blob.core.windows.net/d365fodocuments/reports/@COMPAIID@/invoice/?sv=2020-10-02&se=2022-03-31T14%3A15%3A44Z&sr=c&sp=rl&sig0SAS-Token" "D:\GroupData\E-Post\" --overwrite=prompt --check-md5 FailIfDifferent --from-to=BlobLocal --recursive; $env:AZCOPY_CRED_TYPE = ""

    We only have access to this blob via MS Azure Storage Explorer. Using this, we create the token by downloading a file manually and then copy the key including the time range. I´m pretty sure that this is not a professionell way to do that, but we don´t get a manuell from our partner how we can do this on a smarter way. 

    Our Dynamics write thos files directly into this blob.

  • Suggested answer
    A.Prasanna Profile Picture
    A.Prasanna 8,177 on at
    RE: How to use D365 F&O with blob storage

    If you are referring to SAS Token (Shared Access Token) you can extend validity by simply changing the Expiry date.

    Regards,

    AP

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,969 Super User 2025 Season 1 on at
    RE: How to use D365 F&O with blob storage

    Hi Sascha,

    Can you provide technical information about your current solution? The batch job and PowerShell script are custom, I assume. What is the "key" you are referring to? Is it e.g. a SAS key for the blob storage?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans