locked
CRM 2011 on-premises - Deleting the managed attributes at live server RRS feed

  • Question

  • Hello everyone,

    I am unable to delete the managed attributes from one of the custom entity on live server. When I tried to delete them via holding solution, I faced the following error.  “A managed solution cannot overwrite a Attribute component of the target system”. Are there any other alternatives that help me to resolve this error? Did anybody ever change the IsManaged attribute directly in MetadataSchema.Attribute table in unsupported way?  If yes then what are the disadvantage of that approach? Any help would be much appreciated.


    Thanks, Ankit Shah


    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Monday, January 6, 2014 5:37 AM

Answers

  • I would strongly advise against changing the IsManaged attribute - there are also dependencies on the relevant solution, and it is unlikely that you can be certain that you'll leave the organisation in a stable state.

    As far as I know, the only supported way to delete a managed attribute would be to uninstall the solution, but that will remove any other attributes and entities in the solution, and any data in them. Overall, I'd suggest you leave the managed attributes as they are


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Monday, January 6, 2014 4:15 PM
    Moderator

All replies

  • I would strongly advise against changing the IsManaged attribute - there are also dependencies on the relevant solution, and it is unlikely that you can be certain that you'll leave the organisation in a stable state.

    As far as I know, the only supported way to delete a managed attribute would be to uninstall the solution, but that will remove any other attributes and entities in the solution, and any data in them. Overall, I'd suggest you leave the managed attributes as they are


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Monday, January 6, 2014 4:15 PM
    Moderator
  • Hello David,

    Thank you for the quick response.

    Are there any ways that we can convert the entire managed solution into unmanaged again?

    The customer wants to use default solution to for the further development and customisation changes.


    Thanks, Ankit Shah


    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html


    Tuesday, January 7, 2014 5:10 AM
  • Hi,

    It is actually not possible (to the best of my knowledge) and the structure of managed and unmanaged solutions differ. So, you can't convert them. The best solution as David mentioned is to completely remove the solution.

    Tuesday, January 7, 2014 5:16 AM
    Moderator
  • Hello David,

    Can't I create a new organisation and import the unmanaged solution on it? Migrate the all data from the live server to the newly created organisation (using Dynamics CRM connector) and finally, delete the unmanaged solution. Please advise.


    Thanks, Ankit Shah


    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Tuesday, January 7, 2014 7:55 AM
  • Creating a new org, installing the unmanaged solution, and migrating data should certainly work.
    Tuesday, January 7, 2014 7:45 PM