web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Move document handling file attachments from partner hosted Azure Blob Storage to Microsoft hosted environment

(3) ShareShare
ReportReport
Posted on by 156

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 regards
Tino

I have the same question (0)
  • nmaenpaa Profile Picture
    101,166 Moderator on at

    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?

  • Tino Profile Picture
    156 on at

    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.

  • Verified answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    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.

  • CU09091357-0 Profile Picture
    554 on at
    I was able to download the files from Azure Blob storage, but I faced the same issue with linking the files with the tier-1 environment.
    Means that I cannot see their preview on the local environment.
     
    Was you able to fix this?
  • Subramani94  Profile Picture
    19 on at
    @CU09091357-0 Could you please let me know how you have copied the attachments from UAT or Prod.

    Since we are unable to copy the attachment from Prod or UAT.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 545 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 408

#3
Adis Profile Picture

Adis 267 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans