Skip to main content
Dynamics 365 Community / Forums / Finance forum / Move document handling...
Finance forum
Answered

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

editSubscribe (0) ShareShare
ReportReport
Posted on by 136

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

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,138 on at
    RE: Move document handling file attachments from partner hosted Azure Blob Storage to Microsoft hosted environment

    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.

  • Tino Profile Picture
    Tino 136 on at
    RE: Move document handling file attachments from partner hosted Azure Blob Storage to Microsoft hosted environment

    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.

  • nmaenpaa Profile Picture
    nmaenpaa 101,138 on at
    RE: Move document handling file attachments from partner hosted Azure Blob Storage to Microsoft hosted environment

    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?

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,066 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,585 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans