Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Build error - Failed t...
Finance forum
Suggested answer

Build error - Failed to restore metadata from J:\DynamicsBackup\Package

Posted on by 34
Hi experts,
 
I am getting following build error :
I found one blog where suggested - Remove the custom code from J:\DynamicsBackup\Package.
But not sure from which folder do I need to remove customization.
 
Can you please help on this and suggest solution.
 
 
 
  • Suggested answer
    Anthony Blake Profile Picture
    Anthony Blake 1,940 Super User 2024 Season 2 on at
    Build error - Failed to restore metadata from J:\DynamicsBackup\Package
    Hi,  
     
    Based on the error, I'm making an assumption that you are using a cloud hosted build environment.
     
    The build process creates a backup of Vanilla D365 on the build environment to ensure that each build is running on a "clean" version of D365, plus your source controlled model(s).
     
    This backup is only created if it doesn't already exist.
     
    Delete the backups from the J drive.
     
    Ensure that the K:\AOSService\PackagesLocalDirectory doesnt contain any custom models or ISVs. If it does, delete them.
     
    The next build will take longer than usual, because the backup of Vanilla D365 will kick in and create a new backup on J because it doesn't already exist. This is expected.
     
    See how you get on.

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

Dynamics 365 Community Update – Sep 16th

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

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,426 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans