Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Problems exporting a default solution from Dynamics 2013 On-Premises

Posted on by Microsoft Employee
We have been using Dynamics 2013 On-Premises for years, highly customized (for financial industry), lots of in-house developed plugins, plus two third-party solutions - DocsCorePack (indipsensible) and Zendesk (dispensible). We need to move to CRM 365 Online.
The first step would be to export our default solution - we only have a default solution - so as to import it to our new CRM instance. The problem is, we can't export it. When I click Export Solution, I see a dialog box with many, many (custom) fields listed, under the following notification text:
The following components are missing from your solution. Import will fail if these components don't exist already in the target Microsoft Dynamics CRM organization. To add the missing components to your solution, cancel import, open the solution, and click the Add Required Components button.
(Yes, I had previously published all customizations).
When I try to create a solution and iteratively select Add Required Components, level by level the missing elements balloon and I can't get to the end.
There must be some way to export a default solution as a whole, or create an unmanaged solution at one go!  Or do we need first of all to remove the two managed solutions?
Thanks in advance for any advice,
Yehoshua

*This post is locked for comments

  • Suggested answer
    Abhishek Dhoriya Profile Picture
    Abhishek Dhoriya 1,011 on at
    RE: Problems exporting a default solution from Dynamics 2013 On-Premises

    You can follow the below Video article , where it explained step by step process of how you can export a default solution programmatically, with simple and easy to follow guidance and scripts.

    Export default solution in Dynamics 365 / CRM Programmatically

    Hope this will help , mark this answer as Verified , if this helped you it will give others a confidence and get the right assistance at right time :)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Problems exporting a default solution from Dynamics 2013 On-Premises

    Thanks, I'll try it, patiently!!

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Problems exporting a default solution from Dynamics 2013 On-Premises

    Instead of adding the component by add required components, add it manually i.e. for entities, click add existing and then add all the entities and then for optionset say add existing and then add all existing optionsets and so on....

    You also need to change the view from customized to all.

    I know its a lengthy process and I have done this couple of times. One good thing is that when you say add existing, the popup won't show you the records which are already added.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Problems exporting a default solution from Dynamics 2013 On-Premises

    Thanks, Ravi. The problem is that as we add an entity, and click Add Required Components, because of the interdependencies, we are soon getting to dozens if not hundreds of elements that must be added. Eventually, we simply end up with what is, effectively, our default solution. There seems to be no way to add everything necessary, and even if we ignore the message we receive (as indicated in my original post), the solution export never actually completes.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Problems exporting a default solution from Dynamics 2013 On-Premises

    The ideal approach is to create a new solution and all the components one by one. You do not want to add the managed components.

    The missing dependencies your are getting, are all these for the 2 managed solutions?

    If yes then you can import these managed solution on your target before importing the unamanaged solution. So even if you get missing dependencies error while exporting, it will import fine in the target (as you have already installed the managed solution)

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans