Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Missing required components... when those components are part of a solution

Posted on by 210

I can't wrap my head around this. I'm trying to create a solution to move our structures from one environment to another, and so have crated a custom solution containing only those elements which have been modified by us. To that end - entities we've created from scratch are included in their entirety with metadata, while system entities are only extended with relevant attributes and references.

However, when I attempt to export this solution I'm getting a warning that there are "Missing Required Components". Looking through the list of these, supposedly, missing components I can see relationships (which ARE in the solution) and some views. The views I don't have a problem with - I can understand why those might be missing.

But the relationships have been added as part of the relationship for a given entity. So why do I get a warning? Sure enough, trying to import this solution later on throws the same error on import, that these components are missing.

What's going on here?

  • MateuszBender Profile Picture
    MateuszBender 210 on at
    RE: Missing required components... when those components are part of a solution

    This entity is included in the same solution.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Missing required components... when those components are part of a solution

    Is this parent entity in the environment you are importing into?  

    0272.pastedimage1608732891414v1.png

  • MateuszBender Profile Picture
    MateuszBender 210 on at
    RE: Missing required components... when those components are part of a solution

    It's definitely not the mappings - I've checked, and those are in there and are identical with the "default solution".

    Here's a quick screenshot for reference (I've had to change the width on some columns to make as much info fit - rest assured the hidden columns are either empty or contain "EntityReference"):

    4722.Screenshot-2020_2D00_12_2D00_22-210450.png

    And here's what's in the solution:

    7357.Screenshot-2020_2D00_12_2D00_22-205728.png

    The mappings section only contains the ID mapping (there are no other field mappings).

    EDIT:

    Since I cannot import the solution because the error is given before the import process even begins, there's no import log. As such the only thing I get is pretty much identical to the "Missing Required Components" screen... only in red.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Missing required components... when those components are part of a solution

    Depending on what the log shows, it could be the mappings inside the relationships.  If you are able to post a screen shot of the errors I can probably give more direction.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans