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

If I have made code changes in Company A's D365FO environment using Visual Studio, is it possible to deploy it in Company B's D365FO environment?

(0) ShareShare
ReportReport
Posted on by 240

If I have made code changes in Company A's D365FO environment using Visual Studio, is it possible to deploy it in Company B's D365FO environment given that Companies A and B have the following resources respectively:

  1. Company A: D365FO, LCS, Visual Studio, RDP (Virtual Machine)

  2. Company B: D365FO, Power Platform

  • Suggested answer
    huijij Profile Picture
    19,813 on at

    Hi Mark,

    You can use the Deploy Lifecycle Services (LCS) Asset Deployment task in Microsoft Azure DevOps to automate the deployment of assets that are stored in the Asset library in Microsoft Dynamics Lifecycle Services

    (LCS) to specific environments.

    https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/pipeline-deploy-asset

    regards

  • Mark JZ Yeap Profile Picture
    240 on at

    Ok. Thank you for the answer!

  • Mark JZ Yeap Profile Picture
    240 on at

    LCS does not have a connection between two environments.

  • Mark JZ Yeap Profile Picture
    240 on at

    Are there any other solutions?

  • huijij Profile Picture
    19,813 on at

    Hi Mark,

    The environment ID is a globally unique identifier (GUID) that you can find on the environment's details page, under Environment Details > Environment ID. For example Company B can deploy the enviroment with the LCS Environment ID. And you Can't sync source code, only packages.

    regards

  • Mark JZ Yeap Profile Picture
    240 on at

    Company B does not have LCS. It only got D365FO and Power Platform.

    Company A has D365FO, LCS, Visual Studio, RDP (Virtual Machine).

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Every company who is using D365FO should "have" LCS. If they have D365 licenses, they can (and should) create LCS project(s).

    But, you can deploy deployable packages via LCS, or via command line (to one box environments). You can deploy the same deployable package to any customer's environment. As long as all target environments have same or higher platform version than the build system that you used to create the deployable package.

    But since you talk about copying code of one customer to another customer, please make sure that you have the IPR (Intellectual Property Rights) to this code. This depends on your agreement with the customer. If the first customer owns the code, then you of course need their permission to share it to others.

    Also remember that if the second customer has ANY other customization or ISV solution in their system, you can't just deploy your package to their system (test/prod). If you do it, you will wipe out all other CUS/ISV code from that system. Instead this new code must be added to the source control of that customer, and built into All-In-One deployable package that contains all custom&ISV code for that customer.

  • Mark JZ Yeap Profile Picture
    240 on at

    Ok. Thanks for the 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 539 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 431 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 184

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans