- Go to the Environment Details page in LCS.
- Abort the update process.
- Click Maintain → Rotate secrets.
- Select Rotate the SSL certificates and confirm.
Search This Blog
September 01, 2025
[Solved] DVT script for service model: AOSService on machine: D365FO_DEVBox
July 01, 2025
How to Remove a Model or ISV Solution from Dynamics 365 Finance and Operations (D365FO)
Hi Folks,
Removing a model or ISV solution from a Dynamics 365 Finance
and Operations (D365FO) environment can be a necessary step during system
cleanup, decommissioning unused features, or resolving conflicts. However, it
must be done carefully to avoid breaking dependencies or corrupting the
application metadata.
In this post I’ll Walk through the safe and structured
process of removing a model or ISV solution from D365FO.
Before you begin, ensure:
- You have access to a development
environment (Tier 1).
- You have admin rights in Visual
Studio and Lifecycle Services (LCS).
- You’ve taken a full backup of model you want to delete/remove.
- You’ve identified dependencies and verified that no other models rely on the one you’re removing.
1. Identify the Model
Open Visual Studio in your D365FO development environment:
·
Go to Dynamics 365 > Model Management
> Model Management.
·
Use the Model Util tool or
PowerShell to list installed models:
Get-AXModel -Details
Identify the model name, publisher, and layer (e.g., ISV, VAR, CUS).
2. Check for Dependencies
Use the Model Dependencies Report in Visual
Studio:
·
Go to Dynamics 365 > Model Management
> Model Dependencies.
·
Select the model and generate the report.
· Ensure no other models depend on the one you want to remove.
3. Uninstall the Model
If the model was installed via a deployable package (e.g., from an ISV), you’ll need to:
·
Remove the package from the
AOSService\PackagesLocalDirectory.
·
Delete the model folder manually.
·
Optionally, use PowerShell: (This command only
works for models installed via XPO or model store, not for package-based
deployments.)
Uninstall-AXModel -Model <ModelName
4. Rebuild and Synchronize
After removal:
- Open Visual Studio.
- Rebuild the solution to ensure no broken
references.
- Run Database Synchronization to update the schema.
5. Check in the changes
Do the code check in for deleted objects, make sure you select all deleted objects from your ‘pending changes’ tab.
6. Prepare package for Sandbox
·
Create DefaultModelDelete.txt This file tells
the system which models to remove. It must contain the exact model name as
registered in the model manifest. Just add exact model name in this file, if
there are multiple models pl add into next line for example,
§ Model1
§ MyISVModel
- Create a
new deployable package using your build pipeline or manually.
- Place
the DefaultModelDelete.txt file in the root of
the deployable package folder (same level as AXDeployablePackage).
- Ensure the model binaries and metadata are not included in the package.
7. Package deployment
· Upload the package to LCS Asset Library.
· Apply it to your sandbox or production environment.
· Monitor the deployment logs for confirmation that the model was removed.
Removing a model—especially in production—requires precision and planning. Using the DefaultModelDelete.txt method ensures a clean and supported way to decommission ISV or custom solutions without manual intervention in higher-tier environments.
June 09, 2025
QuickFix: Unable to do PITR from Prod to sandbox
December 22, 2022
QuickFix: How to check component of a deployable package
April 04, 2020
How to enable maintenance mode
d. Once you done with your activities run below query to disable maintenance mode
February 21, 2019
[Solved] Capture screenshots toggle doesn't appear on Task recorder
The Task records are slightly different in D365FO than earlier versions. If you are not getting the 'Capture screenshots' toggle on task recorder window on your environment try below steps,
1. Download FMLab folder from Github, https://github.com/Microsoft/FMLab
2. Unzip it and there must be a folder named 'TaskRecorderScreenshot'.
3. Now go to google chrome and go to More tool > Extensions
4. Click on 'load unpacked' and select 'TaskRecorderScreenshot' folder from the downloaded FMLab folder.
5. Once done, make sure its enabled on chrome extension.
Restart the chrome and check you must get the 'Capture screenshots' toggle on task recorder window.
Cheers!!!
-Harry
Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta
January 11, 2019
General Electronic Reporting (GER) configuration Import in new environment
Generic Electronic Reporting (GER) aka Electronic Reporting (ER) is a great tool to configure document formats for both incoming and outgoing electronic documents in accordance with the legal requirements of various countries/regions. The ER engine lets business users use GER without the help of a developer OR any change in code, as users configure the document formats instead of code development. The user can create different types of documents like JSON, PDF, EXCEL, WORD, XML, and TEXT to support different system requirements. For more details on GER refer to MS documentation here.
Now let's see how to move GER configuration from dev to another environment. Once you complete all your change in the respective model or format, change the status to complete with some meaningful description. Post that system will create one more version with a draft.
Now you can change the status of a completed version to Shared. If you are facing any error, double-check if the configuration repositories are configured properly with LCS. Once you shared a version it will be available on LCS to import in any other environment. You can see them in your LCS project. Log in into https://lcs.dynamics.com/v2/
Now in the new environment, make sure you configured repositories properly for both operation and LCS. Select LCS and click Open.
In the next screen post-LCS connection authorization you must see all customized reporting configuration that is shared over LCS. Select your desired configuration, select the right version, and Import it.
That's it…..
Cheers…
Harry
July 08, 2018
Import Data Packages through LCS
In my last post, we discussed how to create default data packages through the Asset library. LCS is really a good tool to manage your Dynamics project. Today we will discuss one more tool Configuration and Data manager.
Demo 1:
In the first demo, we will see how to import a single data package.
Step 1. Login in LCS. Select your project.
Step 2. Got to configuration and Data management tool. Below is the landing page
here 1. Menu tile, to perform operationsStep 3. Select a package from the grid ( section 2) and click on apply (section 1). The system will ask for destination environment,
2. Available list of data packages
3. Package details and version
4. List of entities in selected package (its blank here cause of my environment. )
Step 4: Once you select a destination environment, now you have to select the company (legal entity) where you want to import this data package.
Select the company and hit the Apply button.
Step 5: Now you go back to your environment and navigate to Data management workspace. You can see a new project created under Data management to import this data package. You can also track the job from the same screen.
Demo 2:
The above demo applicable for single data package import. You can also select multiple data packages and import them in both Concurrently and sequentially. Let's see how…
Step 1: Select multiple data projects (all package must belong logically same module/group)
Step 2: Click on Apply button and select the first option – ‘Apply concurrently’. On next screen give a tag name.
Step 3: Repeat step 3 to 5 from Demo 1.
If you select the other option ‘Apply sequentially’, the immediate next screen will ask for a sequence of data packages,
However, the system will give you default sequence based on name and entity contained. You can update the sequence of each package manually as well.
Once you set the sequence, rest steps are the same as the previous import.
I personally found this tool really helpful when a developer really need some test/setup data while development and they can not go back and forth to get dummy data. If the functional team have data in templates/Packages simple you can apply them to any dev/test box.
Try it and share your feedback.
Cheers
Harry…
April 27, 2018
Report a production outage through Lifecycle Services
As we all aware LCS is a mandate now for any D365FO project with a lot of new changes/update in place. Things are slightly different now for the PROD environment where you don't have any access to servers for PROD all PROD servers are maintained by directly Microsoft.
Here is an update and I believe its an awaited update from most of our customer. Now you can report an outage for production environment straight from LCS, check below post for details;
https://blogs.msdn.microsoft.com/lcs/2017/12/18/report-production-outage-through-lcs/
Enjoy...
-Harry
Follow us on Facebook to keep in rhythm with us. https://fb.com/theaxapta
May 23, 2017
How to enable ARM for D365 deployment
May 13, 2017
Send Message to all Online users [Dynamics 365 FO]
April 08, 2015
How to deploy Dynamics AX instance on Azure through LifeCycle Service (LCS)- Part II
In my previous post we discussed how to configure your Azure account with LCS services and how upload LifecycleServicesDeployment certification on Azure portal.
In this post i will show you how to deploy the AX using LCS on Azure.
Step: 1 Login into your LCS account, select the project you want to deploy. Go to environment and click on ‘+’ symbol

In next screen you need to choose topology to deply.
DEMO: for demo purpose
DEVTEST: For development or testing
Here we will use DEMO topology, click on DEMO

On next screen you need to choose Product version. Click on “Demo AX 2012 R3 CU8”

On the next screen give a name for this instance. (You can select a different size). Click on next.

It will ask for a confirmation for deployment. Click on deploy.
Now LCS will deploy the environment on Azure, this may take some time to complete this step.

Now on right side tile click on VM Name “DEMO####”

It will download a RDC file. Save this file and open with user name and Password.

Your Cloud VM is ready for use.
- Harry
March 23, 2015
How to deploy Dynamics AX instance on Azure through LifeCycle Service (LCS)- Part I
Hi All,
In this post I will demonstrate how to configure your Azure account with LCS(LifeCycle services) project to deploy the AX on Azure cloud.
In second part of this post I will share how to actual deploy the AX on Azure.
Here is quick steps to setup/configuration your Azure with LifeCycle services
Step 1: Login you LCS services
Step 2: Create a new project or you can use any existing project as well. Here in this tutorial I will take an example with new instance creation.

Click on + button and fill the details and click on create.

After create a new project below screen will come which shows, your project created successfully.

Step 2: Now click on Microsoft Azure setting under environments

To proceed further you need you Azure subscription id. To find your subscription id Login into your Azure management portal. Scroll down click on setting and copy from here

Paste this Subscription id in below field

Step: 3 Download management certification (file name : LifecycleServicesDeployment.cer)
This certificate will enable Lifecycle Services to communicate with Azure on your behalf. Download this management certificate to your local computer. Then, upload the management certificate to the Azure management portal (Settings > Management Certificates).
To upload this certification Login into your Azure management portal. Scroll down click on setting click on Management Certificate than click on “Upload Management certification”

Upload the “LifecycleServicesDeployment.cer” file here.
Step :4 Now on LCS window click on next and select Azure region and click on “Connect”.

So here we completed the setup of LCS with Azure.
In my next post i will share how to deploy the AX on windows Azure environment. How to host AX on cloud.
- Harry