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

Announcements

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,660 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 612

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 589 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans