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

CLI command or tool to "Create Deployment Packages"

(0) ShareShare
ReportReport
Posted on by 10
I am trying to automate our package development for our payment extensions for Finance and Operations. I was wondering if there was a CLI command or tool to assist me in doing this outside of VS2022? Currently the process relies on me launching VS2022 and then Extensions -> Dynamics 365 -> Deploy -> Create Deployment Package and selecting relevant packages. Documentation can be found here Create deployable packages of models - Finance & Operations | Dynamics 365 | Microsoft Learn

I only need this package locally and do not need to interact with LCS.
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    239,040 Most Valuable Professional on at
    Despite the documentation, you should never create a deployable package from Visual Studio. The correct way covers your requirement for automation is also much safer.
     
    The right approach is using Azure DevOps build pipelines, which downloads code from course control, builds the application, creates a deployable package and optionally uploads it to LCS. This ensures that you use a known version of the application, not something that just happen to be lying in a dev box.
     
     
    (Moved from D365 general forum to the Finance forum, because it's clearly about F&O and not about D365 in general.)
  • Suggested answer
    Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
    Hi Community member,
     
    In general, there are two ways to create deployable packages. It's either from Visual studio OR azure devops pipelines.
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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 616

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans