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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Unable to deploy package even with ModuleToRemove.txt

(0) ShareShare
ReportReport
Posted on by 41
Hi, We are trying to uninstall an ISV (Avalara isv) from a sandbox environment. We have removed the model from Dev, did a full build and sync and it succeded with out any error. Later we created a deployable package with our custom module, created the text file named ModuleToRemove.txt, added isv model name (avamodel) in the package\AOSService\Scripts folder as per MS documentation but when we try to deploy the package, we are still getting the error "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): ["avamodel"]"
Anyone has any idea on what might be the issue.
 
 
Categories:
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    305,150 Super User 2026 Season 1 on at
    Hi JV13,
     
    For sandboxes, you indeed need to have an all-in-one deployable package. That means that you need to prepare a deployable package with all other ISVs and customizations, excluding the Avalara model(s). Probably you have done this already. I thought it is not a blocking error. It should be possible to continue with the deployment and consider this as a warning. 
  • JV13 Profile Picture
    41 on at
     
    Thanks for replying, I have included the other models in the package. The error dialog also lists only the avamodel as missing. The dialog has only "Close" button and there is no proceed or ok button to proceed for deployment, hence it is an error limiting the deployment and not a warning. Any further thoughts would be really helpful
  • André Arnaud de Calavon Profile Picture
    305,150 Super User 2026 Season 1 on at
    Hi JV13,
     
    Is there another customization model having a reference to this AvaModel? I see quite often that developers just include all available models as a reference to a customization model, even when no objects from these models are used in the customization.
  • Verified answer
    JV13 Profile Picture
    41 on at
     
    We are able to resolve the issue, the issue is the moduleToRemove file has an additional .txt in its name. Its created by someone else and I am asked to look into this issue after its failing. This combined with hiding of file extensions property in the file explorer, I overlooked it and was checking what else could be missing. Once its corrected, the package is now deploying fine.
    Thanks for providing your valuable suggestions.
  • André Arnaud de Calavon Profile Picture
    305,150 Super User 2026 Season 1 on at
    Hi JV13,

    Thanks for sharing your solution. This was a tricky one. However, when reviewing the screenshot you shared before, we should be able to see this...
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 804

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 639 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 528

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans