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, ...
Suggested answer

Database sync in Azure pipeline

(0) ShareShare
ReportReport
Posted on by 60

Hi All,

I have developed Serverless build pipeline in D365FO. I want a do the DB sync before the compile the customization and package. I don't find the DB sync in case of Azure pipeline. There is a way to perform the db sync in Azure pipeline.  Anybody work on this. Please help on this.

Thank you.

I have the same question (0)
  • Martin Dráb Profile Picture
    235,814 Most Valuable Professional on at
    RE: Database sync in Azure pipeline

    I understand the purpose of DB sync. I'm saying that if you want to test synchronization of your customizations, you need to do it after applying your customizations, not before.

    You should have mentioned that you're intersted specifically in the hosted build. It's possible that DB sync isn't available there.

    On my project, we're using our own build servers. The recommend approach is deploying a build environment, not to deploy a dev envrionment and then manually configuring it as a build server. If you actually open the link I gave you, you'll see this topic discussed at the very beginning.

  • chandra Meesala Profile Picture
    60 on at
    RE: Database sync in Azure pipeline

    Hi Martin,

    Thank you for the quick response and providing the information, I understand what you are trying to say.  We can just download the deployable package. but when there is customization like data scheme related changes like Data entities ..etc. I would like check whether the DB sync issues are encountering before the deployable package generate.

    Basically I'm looking for a Database sync task in Azure hosting pipeline. Based on my understanding , Microsoft didn't provide Database sync for Server less Build pipeline/Azure hosting pipeline.

    I heard that there is a alternative way to perform the DB sync by mapping to one of the dev tier 1 environment and perform the task.

    let me know if you have any idea on this.

  • Martin Dráb Profile Picture
    235,814 Most Valuable Professional on at
    RE: Database sync in Azure pipeline

    Then you may want to follow my link. On the picture, you can see the DB sync as the fourth step of the pipeline.

  • chandra Meesala Profile Picture
    60 on at
    RE: Database sync in Azure pipeline

    Thank you so much for your quick response and sharing the sample build pipeline configuration files. but I'm looking for DB sync task. I don't find it in your sample configuration file.

  • Martin Dráb Profile Picture
    235,814 Most Valuable Professional on at
    RE: Database sync in Azure pipeline

    This is how the default template looks like:

    Azure_2D00_DevOps_2D00_default_2D00_build_2D00_pipeline.png

    You can read more about it in Dynamics 365 F&O Dev ALM guide.

    By the way, what is the point of trying to synchronize the application with the database before compiling the application? Just downloading source code isn't enough; you need to compile it before you can work with the application.

  • Suggested answer
    Komi Siabi Profile Picture
    13,019 Most Valuable Professional on at
    RE: Database sync in Azure pipeline

    Hello Chandra Sekhar M,

    The default build that comes by default when a D365FO env is deployed comes with the DB syn step. I advice you take a look at that and add that agent to suit your need.

    Here you could download the sample json file.

    github.com/.../Pipeline-Samples

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 665 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 595 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 558

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans