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, ...
Answered

Visual Studio - Synchronize is not doing anything

(2) ShareShare
ReportReport
Posted on by 117
I downloaded a new virtual machine at D365FO version 10.0.37 from LCS. In Visual Studio 2019, when I right-click a project and select Synchronize <project-name> with database, nothing seems to happen. By that, I mean that I don't see anything happening in the Output window. How can I fix this?
 
Also, this machine has Visual Studio 2022 as well as Visual Studio 2019.  My previous machine (10.0.32) had only Visual studio 2019. Should I be using Visual Studio 2022?
I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,390 Super User 2025 Season 2 on at
    Hi,
     
    you can synchronize the database through PowerShell in Microsoft Dynamics 365 Finance and Operations.
    K:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Deployment.Setup.exe 
    -bindir "K:\AosService\PackagesLocalDirectory" 
    metadatadir "K:\AosService\PackagesLocalDirectory" 
    -sqluser "axdbadmin" -sqlserver "." -sqldatabase "AxDB" 
    -setupmode "sync" -syncmode "fullall" 
    -isazuresql "false" -sqlpwd "*" 
    -logfilename "H:\MSSQL_LOGS\AxDB_log.log"
    
    Best regards,
    Mohamed Amine MAHMOUDI
  • CD-28072126-0 Profile Picture
    117 on at
    Thanks, Mohamed.
     
    This looks like a full database synchronisation. I am interested in synchronising a single Visual Studio project.
  • Verified answer
    Layan Jwei Profile Picture
    8,097 Super User 2025 Season 2 on at
    Hi Community member,

    I normally sync the project following these steps:
     
    1. Right click on your project
    2. select properties
    3. set "synchronize DB on build" as true
    4. right click on the project and select re-build

    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • CD-28072126-0 Profile Picture
    117 on at
    Thanks, Layan. That worked. I am still concerned that I don't see what the compiler is doing in the Output window. There is a line at the bottom of the Visual Studio (where there is a green progress indicator) where eventually I saw the word 'synchronizing' briefly before it disappeared. However, the important thing is that I see my changes when I view the object in the D365 user interface.

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 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans