Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Issue while Importing an Unmanaged Solution

Posted on by

As a part of the requirement, I am moving the changes made in one environment (Sandbox) to another environment (UAT).

What I did, 

Created a new solution and made the changes to the system in this solution (One of the changes being 'creation of a new Business Process Flow - Lead To Invoice).

Published all customizations and exported it as an unmanaged solution.

Then, I navigate to the UAT environment, and imported the above solution.

Import failed because of the following components are missing from the system and not included in the solution.

please check the below images.

I checked the BPF entity, Lead To Invoice, in Sandbox environment,  there were no required components to be added to it.

I am unable to understand what the Managed Solution 'msft_RetentionEnableConfigurations (1.0.0.0)' means.

Can someone throw some light on this and also if I can get to know how to solve this import issue, it will be really helpful.

pastedimage1684156971983v1.pngpastedimage1684157016986v2.pngpastedimage1684157071797v3.png

Any response is much appreciated.

Thank you

  • Suggested answer
    cjbarnaby Profile Picture
    cjbarnaby 10 on at
    RE: Issue while Importing an Unmanaged Solution

    Dicha  - I logged a ticket with MSFT and was informed that this was a known issue, which requires MSFT support to run a mitigation script on the source environment (and the target environment, if one exists - in our case, the target environment is created and then deleted as part of a CI/CD pipeline, so this didn't apply). 

    I would suggest you log a ticket with MSFT informing them that you are unable to import your solution due to missing dependencies on the first-party solution msft_RetentionEnableConfigurations, and provide them with the source environment and target environment URLs (as applicable). 

  • Suggested answer
    RE: Issue while Importing an Unmanaged Solution

    Hello Dicha 

    It looks there are other components depends on your solution which you have not exported , if you do not want to carry in other environments, simply remove it from your unmanaged solution.

    Check through customization.xml or solution.xml as well to check dependency of this solution.

    Please mark if this works for you. 

  • Thierry YS Profile Picture
    Thierry YS 20 on at
    RE: Issue while Importing an Unmanaged Solution

    Hello,

    I had the same error and I solved it by manually creating the entity in the target environment with the same Name and Primary field and nothing else, just an empty entity... then importing the solution that was having dependency problem.

    Once the entity exists in the target environment, you should be able to import the solution.

    I think MS installed a patch that is causing these errors. In the meantime, this should work.

    Good luck.


    Thierry.

  • Suggested answer
    Sayen Zhang Profile Picture
    Sayen Zhang on at
    RE: Issue while Importing an Unmanaged Solution

    Hi Dicha,

    Hope you are well.

    From the screenshot, it seems that you have missed dependencies for solution, we can add missing components into solution to resolve the issue.

    It is better to import from Power Apps, from that we can exactly know dependencies missed in which solutions.

    pastedimage1684216776745v2.png

    Click Show dependencies to see the missing component if there is something wrong with solution.

    pastedimage1684216750757v1.png

    Add missing components into solution and import again.

    pastedimage1684217002273v3.png

    Here is a reference link: Import of solution fails due to missing components - Dynamics 365 Sales | Microsoft Learn

    A related community thread where some options were being talked about: Solution import failed , missing dependencies - Dynamics 365 Sales Forum Community Forum

    Best Regards,

    Sayen Zhang

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans