Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

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

Posted on by 144

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

  • CU09091357-0 Profile Picture
    CU09091357-0 122 on at
    Move document handling file attachments from partner hosted Azure Blob Storage to Microsoft hosted environment
    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?
  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 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 144 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,156 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?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans