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, ...
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
    237,795 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,097 Super User 2025 Season 2 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

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans