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
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.
If you are referring to SAS Token (Shared Access Token) you can extend validity by simply changing the Expiry date.
Regards,
AP
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?
André Arnaud de Cal...
291,969
Super User 2025 Season 1
Martin Dráb
230,842
Most Valuable Professional
nmaenpaa
101,156