Announcements
No record found.
Hello Community,
we copied a database from an online partner hosted D365FO Tier 1 environment to a Microsoft hosted Tier 2 environment. In the new environment all the document references (Tables DocuRef and DocuValue) are still there, but the attached files are missing in the new environment.
Is there a way to transfer the Files from the Azure Blob Storage of the Tier 1 environment to the Tier 2 environment and update the DocuValue records so that they point to the files with the right documentId in the new Microsoft hosted storage?
Kind regardsTino
When you copy database between systems, the document attachments are indeed not carried over.
This applies also if you copy from Prod to UAT.
As far as I know, there is no simple way to copy the attachments from one system to another. But it's definetely not impossible.
Are they so valuable that you want to invest significant time for it?
Yes, we need to find a solution for this. I need to know which options we have. Of course we can't directly access the storage of the Microsoft hosted environment, so we need another way to upload the files.
Basically you might need to programmatically re-attach each file to the correct record in the system.
Before that you need to be able to extract every attachment from the old system.
So, you can start by searching the web for how to download / upload document attachments via x++.
Or, it might be possible to download / upload all the files at once.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 545 Super User 2026 Season 1
Giorgio Bonacorsi 408
Adis 267 Super User 2026 Season 1