10 May 2022

Dealing with those pesky missing dependencies in Microsoft Dynamics 365 CRM

When importing a solution into your target Dynamics 365 CRM environment you may be faced with the following error.  

‘There are missing dependencies.’ Install the following solutions before installing this one.’ 

This issue occurs as the solution you exported contains a file called solution.xml. This file contains references to the attributes present within the solution but also a reference to any dependencies related to those attributes that are not. 

Therefore when importing the solution into the target environment even if the missing dependencies are already present it complains. 

On a side note, personally, I like to, where the requirements allow, keep my solutions as small as possible and only include the components I want to move. I have two reasons for this:

  1. It takes less time to export and import a solution with only a few components.
  2. Only exporting/importing the changes mean’s you have less chance of changing something that could potentially be different in production than it is in Sandbox. Now I know that should ‘never’ happen but experience has taught me otherwise (I’m sure we’ve all been there).

So instead of adding all the missing dependencies to the solution, if you know they exist in the target environment it makes more sense to remove the reference to them.

Let's get started.

Find the zipped solution you exported from the source environment and ‘Extract All’ its contents

Now within the zipped folder, it is created, open the solution.xml file.  I use a free program called Code Writer to edit the file but other such as Notepad++ may support the same capability.

Scroll down to ‘MissingDependencies’ and press the icon as displayed above in red.

The screen should now look as above.

Now delete the three dots after Dependencies and add a forward slash.

Now save and close the file.

Next copy the modified solution.xml back into the zipped up solution you first downloaded.

Once you have overwritten the solution.xml file, go back to your target environment and reimport your modified solution.

Hopefully, this short blog helps you manage your Dynamics 365 CRM/DataVerse solutions. If you have any questions or require more Dynamics 365 CRM advice, please contact your Account Manager.

Written by Ben 
10th May 2022


Get in touch with one of the UK's best Microsoft Dynamics partner

Start your journey towards excellence with Microsoft Dynamics 365

Let us know your details and we'll get in touch with you to learn how we can transform your business processes and operations with Microsoft Dynamics 365 Business Central & Dynamics 365 Customer Engagement:







Protected by GDPR. We'll never share your personal data.

Years established
Happy customers
People supported
Pipers Crisps Co
Aden + Anais
Costa Coffee
Charlton & Jenrick
World Animal Protection

Get in touch


St Mark's Church
St Mark's Road
Wolverhampton WV3 0QH


19 Kingsway House
Team Valley
Gateshead NE11 0HW

Call: 01902 578 300
Skype: Call now

Co. Reg. 03100541
VAT No. GB559725692

Follow us

If you want even more, you can stalk us on any of our social media platforms: