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

Package deployment failed with ModuleToRemove.txt

(0) ShareShare
ReportReport
Posted on by 3,262
Hi all
We removed the module on local DEV Box, all other modules was built so no references. Pipeline built was ok. ModuleToRemove.txt applied to package according Uninstall a package - Finance & Operations | Dynamics 365 | Microsoft Docs.
Deployment failed on Tier-1 with error:
Infolog diagnostic message: 'The file is not ended correctly.' on category 'Error'. 11/19/2021 10:48:03: Import licence file failed. 11/19/2021 10:48:05: Application configuration sync failed.
Anyone with experience on how to remove a module or knows about the error?
Thanks for help.
Jan
I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Hi Jan M.

    if you try to apply the same package without ModuleToRemove.txt, is the deployment succesful? Just to make sure that this error has anything to do with your ModuleToRemove file.

  • Jan M. Profile Picture
    3,262 on at

    Hi Nikolaos

    The package runs without that file. We added it, because the release pipeline was failed with missing model error.

    MS docs did not mention a specific environment type.

    What about tier-2, does it need the ModuleToRemove.txt or not?

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    You should be able to test whether Tier 2 "needs" it by just trying to apply a package without the file.

    Anyway I've used it in Tier1 and Tier2, so seems there's something wrong with your file. Please analyze the details of your file, and if you need help, please share those details (=the full file, and details about the package that you're trying to remove).

    For example, I think you need to have a linebreak in the end of each model name. Including the last/only.

  • Jan M. Profile Picture
    3,262 on at

    File look ok, one line with model name and CRLF, tried also without linebreak, but no change. Strange...

    On tier-1 we deleted now the model manually, with the second deployment there is no warning message about the missing model. For tier-2 we will ask MS for help.

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 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans