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

Build server and Dev server (Tier1)in D365FO

(2) ShareShare
ReportReport
Posted on by 1,275
Dear team,
 
Suppose I have DEV environment and I have created deployment package.
 
My query is how this deployment package is used by Build server to deploy in UAT.
 
Pls let me know the process happened in behind.
 
Thanks in advance!
Categories:
I have the same question (0)
  • Verified answer
    Anthony Blake Profile Picture
    2,905 Super User 2025 Season 2 on at
     
    A build server runs an agent, which is registered in Azure DevOps.
     
    The flow you should look to target is:
     
    Dev Server -> Check in code -> Azure DevOps Repo -> Azure DevOps pipeline (Build) -> Build Server -> Azure DevOps Artifact -> Azure DevOps Pipeline (Release) -> Deploy to Environment
     
    There are details in each step which depend on the source control configuration (TFVC or Git), your pipeline configuration (Classic or YAML), the target environment (LCS or Power Platform), plus many more.
     
     
    And of this amazing website: https://ariste.info/dynamics365almguide/
     
    Good luck.
    Anthony
  • CU05031448-0 Profile Picture
    1,275 on at
    Thanks Anthony for the response.
     
    As you said about the flow 
    "Dev Server -> Check in code -> Azure DevOps Repo -> Azure DevOps pipeline (Build) -> Build Server -> Azure DevOps Artifact -> Azure DevOps Pipeline (Release) -> Deploy to Environment"
     
    From the DEV server, once I checked in the code it goes to
    Azure DevOps pipeline(Build)
     
    Now here I have one question --
     
    We can create a deployment package manually or automatically.
     
    One thing is not cleared in which steps it catch deployment package to proceed.
     
    Where deployment package stored? Is it AOS Service - PackageLocalDirectory. ?
     
    What does Azure DevOps Atifacts?
     
    Kindly elaborate please.
     
    Thanks in advance.
    .
     
     
     
     
     
  • Verified answer
    Anthony Blake Profile Picture
    2,905 Super User 2025 Season 2 on at
     
    The build process, either via a hosted agent or a build server (choose hosted, its better!) should be configured to copy the package back to AzureDevops, and it will be stored as an artifact. The release process will upload this to LCS or Power Platform to be applied to the environment, depending on how your environments have been deployed. I would steer well clear of deploying packages generated in Visual Studio.
     
    Anthony
  • CU05031448-0 Profile Picture
    1,275 on at
    Thanks Anthony,
     
    As per my understanding,
     
    In the step Azure DevOps pipeline (Build) - it took the Deployment package and stored in to Artifacts.
     
    From the Artifacts , it took that package and further process it to Release it through Release pipeline. And upload it to LCS.
     
    From the LCS, we used that deployment package to deploy it in to Target environment (UAT) through apply update.
     
    Am I correct about the process?
     
    Kindly validate please.
     
    Thanks in advance.
     
     
  • Verified answer
    Anthony Blake Profile Picture
    2,905 Super User 2025 Season 2 on at
     
    Yes you have understood correctly, and what's even better, is that the deployment in LCS itself can also be automated using pipelines. 
     
    Thanks,
    Anthony
  • CU05031448-0 Profile Picture
    1,275 on at
    Thanks Anthony for the update.
     
    Only one thing ...
     
    As I mentioned " the step Azure DevOps pipeline (Build) - it took the Deployment package and stored in to Artifacts."
     
    Where we commonly get the Deployment package in application? I mean where it stored generally.
     
    Kindly elaborate pls.
     
    Thanks in advance.
  • CU05031448-0 Profile Picture
    1,275 on at
    Is it AOS/PackageLocalDirectory ?
     
    Kindly confirm please.
     
    Thanks!
  • Martin Dráb Profile Picture
    237,722 Most Valuable Professional on at
    Deployable package isn't stored anywhere in the application. It's purpose is to deploy files; it's not needed after deployment.
     
    Application files are indeed stored mainly in PackageLocalDirectory.
  • CU05031448-0 Profile Picture
    1,275 on at
    So, once Deployment package has been created. It will be in PackageLocalDirectory.
     
    Right?
  • Anthony Blake Profile Picture
    2,905 Super User 2025 Season 2 on at
     
    Well, not really. It depends entirely on your build pipeline and how it is configured, in most cases it would be deleted from the build server during a cleanup step after being stored in Azure DevOps. The build server its purely for building, take for example an Azure DevOps hosted build agent, your would never have access to the file system so there is no reason to store the package on it.
     
    Have a look at the documentation and try it out, and if you encounter any problems, ask specific questions on the forum to gain help, there are a lot of community members with great ALM experience, they are sure to help.
     
    Good luck,
    Anthony

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

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 403 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans