Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Convert managed Entity into Unmanaged.

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

How to convert a managed Entity into an unmanaged one in MS CRM 2013?

I have an unused entity which was created  by mistake in Organisation Scope level  which was moved from source to target by mistake . We have this unused entity in a managed form in target . Is there any possible way to delete this managed entity ? 

Or 

Is it possible to convert managed into unmanaged in Target so as to enable removal .

*This post is locked for comments

  • Suggested answer
    Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Convert managed Entity into Unmanaged.

    If you have a managed entity on your destination organization and it's not on the source environment, or it's a different type, you're going to have problems rolling out. I've had to deal with this in the past where we have a Dev environment and a testing environment.

    What I've done in the past is to delete the entity from Dev, then create a new solution on Testing, include just the problem entity, and bring that solution down to dev, then include the entity in your standard dev solution. Now both entities will be matching and you'll be able to roll out without a problem.

    Hope this helps! I'd appreciate if you'd mark this as Answering your question.

    Thanks,

     Aiden

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Convert managed Entity into Unmanaged.

    Hi Aideen , Thanks . We have been restricting this entity in security model as you have said , But the real problem is we have two versions of this unused entity with same schema name  in two different scopes - User and Organisation  with Organisation being created first and deleted and then again created with user scope , but the former one got by mistake deployed into Target even before it was deleted in source . So we need to delete the one in Target so as to send this new one .  We dont have any database access for this target.

  • Suggested answer
    Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Convert managed Entity into Unmanaged.

    Hi,

    You can't convert a managed entity to unmanaged, at least not in a supported way. I have been able to do this before with managed attributes hitting SQL directly but it's always risky and should be a last resort. If you want to banish the entity, your safest bet is to update your user's security roles so they don't have access to it - this will hide it from all navigation and advanced find views. The system admin will still see it, but if you change the display label to start with "z" or an underscore maybe, you'll move it to the bottom of the advanced find view and it'll be most out of the way.

    Hope this helps! I'd appreciate if you'd mark this as Answering your question.

    Thanks,

     Aiden

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans