web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Manual packages deployment through command line for on-premises LBD D365 FinOps

(5) ShareShare
ReportReport
Posted on by 98
Hi All,
 
as we all know we can deploy using command line deployable packages for all one-box D365 environment , can we do the same on on-premises without going through the LCS preparation and download stage ?
 
i asked chatGBT and found below answers if anyone can advise please:
 

No, you don’t necessarily have to deploy all previous customizations when making a small change, like modifying one field in a form. However, the deployment process in an on-premises environment can be tricky. Here’s how you can optimize it:

1. Deploy Only the Modified Model

Instead of deploying all previous changes, you can generate a deployable package that includes only the updated model. Steps:

  1. In Visual Studio, select the model that contains your change.
  2. Build and create a deployable package only for that model (not the whole environment).
  3. Deploy this smaller package through LCS or manually via PowerShell.

2. Use Hotfix Deployment (Metadata-Only Packages)

  • If your change doesn’t require a database update, consider deploying a metadata-only package rather than a full application package. This significantly reduces deployment time.

3. Skip Database Synchronization (If Possible)

  • If your form change doesn’t require schema modifications, you can skip database synchronization during deployment to save time.
  • Use PowerShell to manually apply changes without full re-sync:

4. Deploy Using PowerShell Instead of LCS (For Faster Deployment)

  • Instead of LCS, which takes longer, you can manually deploy the package using PowerShell:
  • This is faster because LCS adds extra validation and processing overhead.

5. Use a Local Asset Library

  • If using LCS, upload the package to a local asset library instead of downloading from the cloud every time.

Would you like help generating a minimal deployable package for your change?

Install-AXDeployablePackage -PackageName "YourPackage.zip"
Install-AXDeployablePackage -PackageName "YourPackage.zip" -SkipDatabaseSync

 
Categories:
I have the same question (0)
  • Suggested answer
    Anton Venter Profile Picture
    20,657 Super User 2026 Season 1 on at
    Hi,
     
    Looking ar the answer provided by the AI, it totally missed the point of your question. The answer is, no. you should use the Microsoft supported way of updating/deploying. Installing deployment packages from the command line is meant for the cloud hosted Dev VMs or the downloaded VHD Dev VMs. The cloud hosted Dev VMs can be updated via LCS as well.
     
    Apply updates to on-premises deployments

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 676

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 462 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 335 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans