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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Full database synchronization failed in D365FO

(1) ShareShare
ReportReport
Posted on by 354
Hi,
 
what could be the root cause of this issue and how to solve this. Please suggest.
 
I have the same question (0)
  • Jonas "Jones" Melgaard Profile Picture
    4,926 Most Valuable Professional on at
    Can you do a full build of all non-Microsoft models (I.e. your customizations) without errors?
  • CU20101458-0 Profile Picture
    2 on at
    Yeah, full model build completed without issues.
  • Komi Siabi Profile Picture
    13,093 Most Valuable Professional on at
    Hi, 
     
    How did the error come about? 
    Is this happening on a fresh deployed VM? Did you create new data entity or duplicate an existing one?
     
  • Vigneshvaran Profile Picture
    354 on at
    Hi Komi,
     
    its not a new VM, suddenly this issue starts coming while doing full sync.
     
    I also doubted data entity and verified all customization data entity, public collection name and public entity names are different only.
  • Jonas "Jones" Melgaard Profile Picture
    4,926 Most Valuable Professional on at
    It’s difficult to say without seeing the full synchronization log.
    Sometimes you can get more detailed information by running the synchronization from the command line, for example using Invoke-D365DBSync from d365fo.tools.

    Is this the only CHE with issues? If so, I’d recommend just redeploying it, especially if it’s getting old. It’s often not worth the effort to troubleshoot errors in these environments.
  • Vigneshvaran Profile Picture
    354 on at
    Okay Jonas, could you please share me the command which used to generate full sync from command prompt.
  • Jonas "Jones" Melgaard Profile Picture
    4,926 Most Valuable Professional on at
    In PowerShell:

    Start by installing d365fo.tools, if you haven't already: https://github.com/d365collaborative/d365fo.tools/wiki/Tutorial-Install-Administrator
     
    Run this command to stop all F&O services: Stop-D365Environment -All
     
    Perform the synchronization: Invoke-D365DBSync -ShowOriginalProgress
    This command can also dump the output to a file, if you need it.
     
    Run this command to start all F&O services: Start-D365Environment -All
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,407 Super User 2025 Season 2 on at
    Hi Vigneshwaran,
     
    You can refer to this link to run the database synchronization through the command line. Use either of these cmdlets as Jonas mentioned and use the command highlighted.
    Invoke-D365DBSync -ShowOriginalProgress
     
    or use Invoke-D365DBSyncModule <modelname> that you are looking to sync (if you are looking to sync specific modules or models).
     
    Hope this helps.
     
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    Can you list the specific changes you made or came on latest just before this issue raised? We recently faced this and on commented and uncommenting the List related contract classes and logics, issue resolved and never came again.
  • Vigneshvaran Profile Picture
    354 on at
    Thanks Jones & Navneeth,
     
    After generating full synchronization from command prompt, am getting the below issue.
    But the highlighted field is not available in the entity, then I don't understand why this issue is coming.
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans