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

Community site session details

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

Visual Studio Synchronize Database is not updating database

(0) ShareShare
ReportReport
Posted on by 30

I recently deployed a development environment from LCS with D365 version 10.0.23 PU 47. This new environment has Visual Studio 2019. I mapped the right development branch from source control: Metadata to "K:\AosService\PackagesLocalDirectory" folder. Refreshed Models in Visual Studio and our custom models are showing. AOT shows our custom model items too. I did a "Synchronize database" from Visual Studio. Sync completed with "successful" message. However, the AXDB database does not have any of our custom tables, entities etc.

What could be wrong here?

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    297,611 Super User 2025 Season 2 on at
    RE: Visual Studio Synchronize Database is not updating database

    Thanks for the feedback Macara. Once you fixed the errors and the build was successful, then the database sync should work properly.

  • Suggested answer
    Macara T Profile Picture
    30 on at
    RE: Visual Studio Synchronize Database is not updating database

    Hi André ,

    I did a full build and see some errors. Will check and fix.

    Thanks!

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    297,611 Super User 2025 Season 2 on at
    RE: Visual Studio Synchronize Database is not updating database

    Hi Macara,

    After you got the latest coding from your repository, did you do a full build of the model(s) before you started the database sync? The sync works only for correctly created runtime components which is not part of the source code, but only available after the build.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 823 User Group Leader

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 491 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans