Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.
This article describes how to develop customizations and extensions, and deploys them to an on-premises environment. On-premises environments are also referred to as local business data (LBD) environments. This article focuses on the ways that this process differs from the process in a run-time cloud environment.
The process has the following main steps:
- Deploy your development and build environments.
- Create a deployable package of your code and customizations.
- Upload the deployable package to your project in Microsoft Dynamics Lifecycle Services (LCS).
- Configure and deploy an on-premises runtime environment that includes your deployable package. This environment can be either a sandbox environment or a production environment.
The following sections provide more information about this process.
Development tools and platform
Whether you're developing, extending, or customizing cloud applications or on-premises applications, the development platform, tools, and environments (virtual machines [VMs]) are the same. You develop your custom code on the same development VMs, regardless of whether your target runtime environments are in a cloud environment or an on-premises environment.
For detailed information about development, see the Develop and customize home page. For information about extensibility and customization, see the Extensibility home page. For information about building, testing, and continuous delivery, see the Continuous delivery home page.
Deploy development and build environments
You can use an on-premises LCS project to deploy build and development environments on Microsoft Azure by using your own Azure subscription. Alternatively, you can download a virtual hard disk (VHD) for local development.
To deploy a development or build environment in your Azure subscription, or to download a development VHD, open the Cloud-hosted environments page in LCS.
Then follow these steps.
Select Add.
Select Azure or Locally. If you select Locally, find and download a development VHD. If you select Azure, you're prompted to select one of three topologies: Build and Test, Demo, or Development.
Complete the deployment steps, and deploy a VM in your Azure subscription.
For more information about how to configure a local development VHD, see Deploy and access development environments.
Note
To deploy environments in your own Azure subscription, you must set up at least one Azure Connector. To set up an Azure Connector, in LCS, open the Project settings page, and then select the Azure connectors tab. Then follow the instructions to add an Azure Connector. To complete the steps, you must be the tenant administrator of the organization.
Create and upload a deployable package to the LCS Asset library
When you complete a phase of development and are ready to deploy your code to a sandbox or production on-premises environment, you must create an application deployable package from your models. This process is the same for cloud environments.
If you're using automated builds (a build environment), the build process creates an application deployable package for you. You can also create an application deployable package from Microsoft Visual Studio in your development environment. For more information on how to create an application deployable package in your development environment, see Create deployable packages of models.
When your deployable package is ready, follow these steps to upload it to your LCS project's Asset library.
Open the Asset library page.
Select the Software deployable package tab.
Select the plus sign (+) to upload the deployable package.
Configure an on-premises runtime environment that uses your code
As of the July 2017 release of Microsoft Dynamics 365 Finance and Operations (on-premises), you can apply your customizations and extensions only during the deployment of a sandbox or production environment.
In your LCS project, select Configure to deploy your environment.
In the deployment tool, when you must enter the environment name, select Advanced settings.
Select the Customize solution assets tab.
In the Select the AOT packages to be deployed field, select the application (AOT) deployable package that contains your customizations. This field lists all the AOT packages in your Asset library.
Select Done to close the Deployment settings page, and then continue with the environment deployment process.