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

How to automate the code deployment process for on-premise D365FO

(0) ShareShare
ReportReport
Posted on by 310

Hi,

I have the requirement to automate the code deployment process for on-premise D365FO environment. Please share your thoughts or links.

-Thanks,

Arif

I have the same question (0)
  • WillWU Profile Picture
    22,363 on at

    Hi AV,

    There is no difference between cloud and on-premises in using DevOps.

    Please check:

    docs.microsoft.com/.../continuous-delivery-home-page

    docs.microsoft.com/.../develop-deploy-custom-models-on-premises

  • Arif Vadsarya Profile Picture
    310 on at

    Hi Will,

    Thank you for your response.

    What I want is the build and code deployment automation process for on-premise D365FO environment, same as we have for on-cloud D365FO build and automation.

    Following is the high level process:

    1. In designated D365FO DEV VM for build, take latest the code from specific Repos from DevOps.

    2. Compile the custom models

    3. Create the package from that custom models

    4. Upload that package in LCS asset library

    5. Start deployment process in Sandbox / Production environment in LCS, this deployment process include preparing and update environment steps same like we did manually.

    Is there any azure pipeline support for on-premise D365FO?

    - Thanks

  • Suggested answer
    Joris dG Profile Picture
    17,780 on at

    Unfortunately, you can do all of these steps except (5). Currently there is no LCS API to deploy a package to an on-prem environment. The existing API (which the Azure DevOps tasks use) supports multiple types of environments, except on-premise.

    I'm not aware of anything on the roadmap for this either. You can try to request this through experience.dynamics.com and file an "idea" (there actually may already be one) to get the product owners to recognize the need and put it on the roadmap. But in the short term obviously there's not much you can do...

  • Arif Vadsarya Profile Picture
    310 on at

    Hi Joris,

    Thank you for your response.

    Do you have any resource, where it shows how to automate above mention top 4 points. Please share it.

  • Suggested answer
    Joris dG Profile Picture
    17,780 on at

    The most comprehensive online step by step you'll find is from one of the MVPs: ariste.info/.../

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans