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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Solution import shows missing dependency error for existing components

(1) ShareShare
ReportReport
Posted on by 172
Hello community,
 
we have upgraded our test and production system from 8.2 to 9.1.14.17. 
Now we are gradually upgrading the Dev organizations to a new CRM Server v9.1 using a SQL backup for each organization.
 
Error description:
When importing the solution from the new Dev 9.1 into a Test 9.1, we get the error message after selecting the solution: Error importing solution. The following components are missing in the target system and are not part of the solution. Error code: 8004801d
The missing components are 5 field security profiles that are in the same dev system as the solution being imported. The missing components are part of a separate solution that is definitely in the target system and the components are listed in the default solution. 
If I import the same solution with the same version from the old dev system into the same target system, then I don't get this error message and the import is done successfully.
 
Attempted troubleshooting:
1st organization deleted again and imported again.
2. solution imported as unmanaged from v8.2 system to v9.1 system.
 
Unfortunately nothing has worked so far and in my research I have only found solutions that the missing components should be added to the solution. But this is not a solution for us, because they are in the target system and an import from the old system works.
 
Does anyone have an idea what it is and how I can fix this problem?
Thanks for your help.
 
Kind regards,
Daniel
I have the same question (0)
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Solution import shows missing dependency error for existing components
    Hi Daniel,
     
    Regarding your question about importing a solution from a development environment to a test environment reporting errors.
     
    Have you checked the solution component dependencies to ensure that all required dependencies are present in the new Dev environment? Sometimes, missing dependencies can cause import issues.
     
    This article at the following link may help you
    https://medium.com/dynamics-365/dynamics-365-solution-error-components-are-missing-import-the-managed-solution-with-these-10a19bf83277
     
    In addition, the answer to this post below refers to an article on using PowerShell to remove missing dependencies from the solution XML, which may help you resolve the issue.
    https://community.dynamics.com/forums/thread/details/?threadid=e32ba3ed-7703-4a59-92f0-9174add5d8ab
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang
  • Daniel Schneider Profile Picture
    172 on at
    Solution import shows missing dependency error for existing components
    Hi Rudy,
    thank you for your answer. I have already read the link and today I have removed these missing dependencies from the solution.xml and afterwards an import was possible. 
    I noticed today that the solution(s) with the field security profiles in the target systems are installed as unmanaged solution(s) instead of managed and there are more fields in the profiles in the target systems than in the devsystem with version 8.2 or 9.1.
    Unfortunately, I do not know now if that is the problem. Since I don't have the teams added in the field security profiles in the devsystem, I can't just import the Solution(s) from production into the devsystem.
    In addition, there are fields from different entities in the field security profiles. If these fields are not in the devsystem, then an import of the Field Security Profile Solution would also fail. At least now I have another clue. 
    As soon as I have new information or even could solve the problem, I will report here again.
    Thanks again for your answer.
    Greetings Daniel
  • R4isin Profile Picture
    7 on at
    Solution import shows missing dependency error for existing components

    Hello Daniel,

    Were you able to find the cause of this issue?

    I need to install a managed solution in TST, but I’m encountering an error because some components, while present in the target environment as unmanaged components, are not included in the managed solution. I don’t understand why this is happening.

    Thank you !

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 284

#2
Sohaib Cheema Profile Picture

Sohaib Cheema 104 User Group Leader

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 77

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans