Microsoft D365 F&O: Remove custom models from deployable package
Sometime we deploy custom model to PROD/Sandbox and due to some reason needs to revert back custom model code. If we revert back code, code reverted back but model still exist in the environment. the next time when we suppose to deploy new package, deployment would failed with following reason:
"The selected package is missing the following modules that are currently deployed on your environment. You must create an all-in-one deployable package that contains all your code customizations and ISV solutions. More information can be found at the following link: https://go.microsoft.com/fwlink/?linkid=2118104. Missing module(s): [ Package1 ] ,[ Package2 ] [ Package3 ]’ (Activity Id: ‘12345XXXX’)"
I will explain how to remove the custom models from your environment(PROD/Sandbox).
Steps
1. Create a deployable package from your VM(Visual studio) or download the build package
2. Unzip the deployable package and open the deployable package folder.
3. Go to \AXDeployablePackage.zip\AOSService\Scripts
and create a new text file call ModuleToRemove.txt and add the list of modules which you want to remove and place the file at location\AXDeployablePackage.zip\AOSService\Scripts
Comments
Post a Comment