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

Announcements

No record found.

News and Announcements icon
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
    Hussein Wahba Profile Picture
    223 on at

    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.

  • Community Member Profile Picture
    on at

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

  • Muhammad Salahuddin Profile Picture
    470 on at

    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. 

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    2,916 on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans