web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Uninastalling a package from UAT cloud environment

(0) ShareShare
ReportReport
Posted on by 6,478

Hello,

We want to remove a package that was previously installed in the UAT environment. This package is already long time ago removed from a dev environments, but we noticed that it still exists in UAT, etc..

The deployable package where I want to include the "ModuleToRemove.txt" file is build in devops (Build machine).

What I can't understand from the Docs links below is this part

  • All references to and from the modules must be removed before you begin to uninstall the module. To remove all a module's references, add a single class to the model. This class should contain no code. It should contain only a reference to the application platform.

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/uninstall-deployable-package#prerequisites 

Where should I add the class? In which model? in the one that we want to remove? But this model isn't included in the deployable package already, since it was removed a long time ago from Dev environments.

What does it exactly mean that the class should only contain reference to the application platform? How class can have a reference to a application platform package?

Does anybody have maybe a step by step guide of it with screenshots?

Thanks.

I have the same question (0)
  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Johnny,

    Since this package was removed from a Dev environment and if you can validate that you can build all the models in the environment without errors, I believe there are no references to this module in the code. So, I don't think you will need to create a class for this.

    You can follow this post for step by step instructions on how to do this process. The only place I got stuck at was while trying to re-zip the deployable package. You must select all the extracted sub-folders and zip it to create the file, else you might get an error while valdating the package after uploading it to LCS.

  • Johnny Profile Picture
    6,478 on at

    Hi Gunjan,

    Thanks a lot.

    Yes, I just tried to copy the txt file in the folder and then just re-zipped the base folder and I got the error while validating the package in asset library

  • AJJAIS Profile Picture
    on at

    Hello Johny, Please take a look docs.microsoft.com/.../uninstall-deployable-package

    As suggested in above thread- you must select all the extracted sub-folders and zip again.. for example:

    pastedimage1616723716483v1.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans