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

steps by steps DEPLOYMENT ( APPLICATION + DB ) both from DEV to UAT environment. in d365fo

(0) ShareShare
ReportReport
Posted on by 30

hi al,

please let me know the steps by steps DEPLOYMENT  ( APPLICATION + DB ) both from DEV to UAT environment.

please give me more shed on this

I have the same question (0)
  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Arpan,

    Normally you wouldn't deploy DB from DEV to UAT. We normally refresh DEV DB from UAT. UAT is refreshed from Prod.

    As for the application, you would need to create deployment packages for deployment on the UAT server. Code changes from Dev and checked into the Dev branch. We normally also have a Main branch. We merge the change sets from Dev branch to Main branch. We run the build pipeline on the Main branch which creates the deployable package. This deployable package is then deployed to UAT.

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi @rp@n,

    High-level steps are described in MS Docs docs.microsoft.com/.../create-apply-deployable-package

    DB is not moved from DEV to UAT (at least it's not a usual case).

    Usually, a build environment is used to build the code you want to deploy and generate a package to be deployed (but it's possible to make a package from VS, but it's not recommended and I'm not sure if it's still working)

    Additionally, you can set up auto-upload of deployment package to LCS step and auto-deployment from LCS steps, or you can download the package from build artifacts after the build and upload it manually to Asset library in LCS and start deployment

    In the article (and sub-articles) you can find a lot of information about different steps in build and deploy pipelines, also I recommend to start with the build on build VM instead of azure hosted agent as it could be a bit difficult without proper knowledge  docs.microsoft.com/.../hosted-build-automation

    Manual step for package deployment described in docs.microsoft.com/.../apply-deployable-package-system

  • @rp@n Profile Picture
    30 on at

    Thanks Gunjan

    Kindly let me know how will do the refresh Db?

    As you said " We run the build pipeline on the Main branch which creates the deployable package."

    Do you have any links to create Deployable package based on build server or pipeline...

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Arpan,

    You can follow this link for refreshing DB from UAT to DEV.

    For setting up an Azure pipeline and generating deployable packages, you can check these two posts -

    1. link 1

    2. link 2

    The deployable packages are deployed into UAT using LCS.

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