Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Import failed: Model-Driven App is missing required components uniquename : msdynce_saleshub.

Posted on by

Hi!

I have a managed solution which includes the Sales Hub app deployed to an environment. The solution was successfully deployed on Friday last week (i.e. 2022-12-02). Now I try to deploy the same managed solution, just changing the version number of the solution (from 1.1.0.107 to 1.1.0.108) and I'm getting the following error when importing the managed solution to the environment:

Import failed: Model-Driven App is missing required components uniquename : msdynce_saleshub. Please include the App with required components.

Nothing else is mentioned in the error log. I interpret this error message as that the msdynce_saleshub model-driven app is missing some required components, and those components should be included in the solution. What is weird however, is the fact that the import of the exact same solution worked fine last week.

This error message is really not telling me much, and I cannot tell which dependency it might be referring to (the Sales Hub we have customized have 218 required components).

So I have 2 questions:

  1. How can I get more details on what the issue is?
  2. How can the issue be fixed?
  • Suggested answer
    Leco Lv Profile Picture
    Leco Lv on at
    RE: Import failed: Model-Driven App is missing required components uniquename : msdynce_saleshub.

    Hi OGH,

    If only the versions are different, try the following before importing. If the problem persists, please open a ticket with Microsoft Teams.

    pastedimage1670490231527v1.png

  • OGH Profile Picture
    OGH on at
    RE: Import failed: Model-Driven App is missing required components uniquename : msdynce_saleshub.

    1. Thanks

    2. Yes, the Sales Hub application has been deployed in the target environment via the Dynamics 365 Sales, Enterprise app solutions. On top of that, the Sales Hub app was included with customizations in the managed solution I already had deployed to the target environment. What I tried was to redeploy the same managed solution again (with only a version bump), but that then failed with the error message in the original post.

    What I have done which worked was to remove the Sales Hub app and the included customizations to it in the managed solution. This is a special case, since we weren't using the Sales Hub app in production yet and are able to remove it. But I imagine that is not the case for a lot of people.

  • Suggested answer
    Leco Lv Profile Picture
    Leco Lv on at
    RE: Import failed: Model-Driven App is missing required components uniquename : msdynce_saleshub.

    Hi partner,

    1.You can find more details in the history.

    pastedimage1670382371136v2.png

    pastedimage1670382301290v1.png

    2.Is the Sales Hub application deployed in the target environment you imported? You need to deploy Sales Hub in the target environment.

    I found Microsoft's explanatory documentation on missing components.

    learn.microsoft.com/.../import-of-solution-fails-due-to-missing-components

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans