Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Deployment of new pack...
Finance forum

Deployment of new package is failed

(0) ShareShare
ReportReport
Posted on by

While deploying a new package on both development and  test environments , the deployment is failed at step 11 (GlobalUpdate script for service model ,,,,,) I try to download the log file , all error files are empty except one with a error mentioned below , how can I solve such error to complete the deployment ?

The specified module 'C:\Program Files\Microsoft Security Client\MpProvider' was not loaded because no valid module file was found in any module directory.

  • Rich Profile Picture
    275 on at
    RE: Deployment of new package is failed

    Looking at the detailed execution logs, this appeared to be due to an issue with an ISV solution (error The model id was not found for the artifact 'ISVApplicationObject' of type 'Microsoft.Dynamics.AX.Metadata.MetaModel.AxResource'.  This can happen if the model id was changed.  Perform a full build on its containing package to resolve the issue.) Given we’re not building the ISV solution, this reads odd to me, but we’ve ended up resolving it by using the module removal text file & deploying afresh.

  • Rich Profile Picture
    275 on at
    RE: Deployment of new package is failed

    Aware this thread is pretty old (and a second thread not much younger suggested closing Visual Studio: not something that was relevant in my experience, since VS wasn't open), but I'm seeing the same error at step 0 of a deployment.

    If MpProvider is a PowerShell module, does anyone have any thoughts on why package deployment may reference it when it's not guaranteed to be available please?

    The package that's failing isn't empty (exact names redacted, but the expected model .nupkg files are present):

    PackageContents.png

  • Suggested answer
    Sheikh Sohail Profile Picture
    6,125 on at
    RE: Deployment of new package is failed

    Its seems you deploy-able package is empty. Can you please share the step you followed to create package. would be great if you can share the image of the package like below screenshot, it will help us to get more understanding.

    If your model is not empty then restart the VM and try again to deploy package..

    4478.1.png

  • Martin Dráb Profile Picture
    233,043 Most Valuable Professional on at
    RE: Deployment of new package is failed

    Note that MpProvider is a PowerShell module; it's not related to D365FO modules.

  • André Arnaud de Calavon Profile Picture
    294,430 Super User 2025 Season 1 on at
    RE: Deployment of new package is failed

    Hi Maram,

    Can you tell how this package was created? It seems like it is a kind of empty package. This could be caused by wrong mappings in the original DEV instance.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,430 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans