This article explains how to safely remove an LISA Enterprise solution from a Microsoft Dynamics 365 Finance and Supply Chain Management environment. The process uses a deployable package that instructs the system to remove the specified module during deployment.
Uninstall Procedure
Step 1: Remove model references
- Remove all references on other modules to the LISA Enterprise module (BFTLicensing).
- If you have extension modules which only contain extensions for LISA Enterprise, then you would also need to uninstall these modules.
- Verify that no other models or packages depend on the module.
- Build and deploy any models that were updated to remove these references.
- Verify that the module(s) are not included in the deployable package that will be used for the uninstall process.
Step 2: Create the Module Removal File
- Create a text file named:
- ModuleToRemove.txt
- Add the name of each module that should be removed, using one module name per line.
- So if you only want to remove the LISA Enterprise module the text file should just contain:
BFTLicensing - However if you also have module(s) which only contain extensions for LISA Enterprise which you also want to remove, the file should contain the below.
LISAExtA
LISAExtB
BFTLicensing
Step 3: Prepare the Deployable Package
- Create a valid deployable package
- Copy the ModuleToRemove.txt file into the [packageName.zip]\AOSService\Scripts folder within your deployable package.
- Once added, verify that the package structure is correct before continuing.
Step 4: Upload the Package to LCS
- Open your Lifecycle Services (LCS) project.
- Navigate to Asset Library.
- Upload the updated deployable package.
- Wait for package validation to complete.
- Review any warnings or validation messages before proceeding.
Step 5: Deploy the Package
Install the deployable package using the standard deployment process to your Sandbox/UAT environment.
Step 6: Verify Module Removal
After deployment:
- Log in to Dynamics 365 Finance and Supply Chain Management.
- Verify that the module Enterprise Subscription Automation or Enterprise Automation is no longer available from the side menu.
- Confirm that no menu items, security roles, or integrations related to the module remain active.
- Perform validation testing before applying the same process to production environments.
Expected Outcome
Upon successful deployment, all LISA Enterprise and TAPP functionality will be removed from the environment and will no longer be available to users within Dynamics 365 Finance and Supply Chain Management.
References
Microsoft documentation on removing a module: https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/uninstall-deployable-package