How to Create and Deploy Packages to UAT and Production in D365 FO

Deploying changes and customizations in Dynamics 365 AX requires the creation and application of a deployable package. 

This package can be applied either through the LCS automatic process or manually through command prompt. 

In this article, we will outline the steps involved in creating and applying a deployable package using the LCS automatic process.

Step 1: Full Build

Before creating a deployment package, it is recommended to perform a full build of the required models. 

This ensures that all changes and customizations are included in the deployment package. 

To perform a full build, navigate to Dynamics 365 > Build Models > Full Build and select all models. Alternatively, select only the models that have been modified or customized.


Step 2: Create a Deployment Package

Once the full build is complete, go to Dynamics 365 > Deploy > Create Deployment Package. 

Select only the packages that contain the modified models, and choose a location to save the deployable package.

Step 3: Upload and Apply the Deployable Package in LCS

The deployable package can be applied through the LCS automatic process. 

A. Log in to LCS and navigate to the Asset Library. 


Select Software Deployable Package and click on the plus sign to upload the deployable package created.

B. Once the file is uploaded, navigate to the target environment (UAT or any other environment) and go to Maintain > Apply Updates. Select the uploaded software package and proceed to apply the updates.

Note that applying a package may cause system downtime, as relevant services will be stopped during the process. 

After the package is applied, refresh and check the Servicing Status. If the status is completed, check the changes in the UAT environment. 

If everything appears to be working correctly, Click on the History button. Select the environment changes options. 

Select the last deployed package and click on the Sign-off option. 

Step 4: Deploy Code to Production

Once the package has been signed off, Microsoft Service engineers can perform the production deployment. 

Select the Deployment Package and schedule an appointment for deployment. Navigate to the Production Environment and select Maintain > Update Environment. 

Choose the package to release to production, schedule the deployment time, and submit the request. The deployment can be rescheduled or canceled before it starts.

In conclusion, the LCS automatic process simplifies the creation and application of deployable packages in Dynamics 365 finance and Operation. 

By following the steps outlined above, you can ensure that your changes and customizations are properly deployed to production.

Post a Comment

0 Comments