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)

Remove Key from Entity in MS CRM Online 365

(0) ShareShare
ReportReport
Posted on by 60

Hi All,

I am facing one issue in my production environment.I have created one key for Lead entity and the key is a part of managed solution.

Now due to some customer requirement i want to delete that key but system is not allowing me to change key properties as it is a part of managed solution.

Can anyone suggest how i can remove that key?

Is there any code to delete key using SDK messages?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    here is a solution to your problem: community.dynamics.com/.../221347

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi Shashank,

    Is there any specific reason you want to remove alternate key from Managed solution. You can not remove any component from managed solution until and unless you create any unmanaged solution with the entity but it will make your production instance unmanaged entity and this is not good practice.

    I would suggest  delete key in your development environment  unmanaged solution and then import the solution to production instance .

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans