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 CRM (Archived)
Suggested answer

Can't import solution - "cannot overwrite the OptionSet component with Id"

(0) ShareShare
ReportReport
Posted on by

I'm trying to import a solution from our sandbox CRM to our live CRM but I keep getting an error saying:

A managed solution cannot overwrite the OptionSet component with Id=1b170b38-405b-e711-80ff-fc15b4269a54 which has an unmanaged base instance.  The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged OptionSet component on the target system, and now a managed solution from the same publisher is trying to install that same OptionSet component as managed.  This will cause an invalid layering of solutions on the target system and is not allowed.

I'm trying to track down that particular OptionSet but I can't seem to find it anywhere within our CRM. I've tried searching with the XrmToolBox Metadata browser, connecting to our online backend with Skyvia and using SQL to try and find the OptionSet Id in the Stringmap but it keeps coming up empty. As I can't even find the OptionSet I can't even start to correct the problem.

Is there a way to track down this elusive OptionSet?

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    2,914 on at
    RE: Can't import solution - "cannot overwrite the OptionSet component with Id"

    In on premise environment, you can just query the optionset where id is equal with your error problem. When you go from online environment, you can't do that. The only thing you can do is open ticket to microsoft/test to remove the optionset attribute in customization.xml until you found which optionset is that one.

  • Muhammad Salahuddin Profile Picture
    470 on at
    RE: Can't import solution - "cannot overwrite the OptionSet component with Id"

    Hi NSG,

    Can you paste/attach the screenshot of error dialog? In the error window you'll see the entity also whose field is causing the issue. 

  • Community Member Profile Picture
    on at
    RE: Can't import solution - "cannot overwrite the OptionSet component with Id"

    Thanks for your answer. I looked inside the customisation.xml file but couldn't find the optionset id anywhere. Back to the drawing board!

  • Suggested answer
    Hussein Wahba Profile Picture
    223 on at
    RE: Can't import solution - "cannot overwrite the OptionSet component with Id"

    It may be a local optionset inside a specific entity, I recommend to export the solution and search for this ID in customization.xml file, you can find it inside the exported solution.

    What i think that the optionset field is unmamaged in the target environment, and you are trying to install it as managed, you can exclude this field from your solution and try again.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans