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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Managed Solutions - Alternate Keys and Managed Properties issue

(0) ShareShare
ReportReport
Posted on by 15

Hello everyone,

I'm facing some issues trying to import a managed solution into a CRM org, after creating an Alternate Key for an entity that has all the Managed Properties (IsCustomizable property) set to false.

Error message: EntityKey is not supported for non-customzable and intersect entities

At the moment, I am setting all the managed properties to true for that specific entity in order to import successfully, which is not desirable for an ISV. I cannot see a reason for a validation like this, so I am assuming that this is an issue. Does anyone know or have an idea about this?

Version: MS Dynamics 365 on-premise (v8.2.0)

Any feedback will be really appreciated.

Thanks,

Felipe

*This post is locked for comments

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

    We had the same exact issue popping up when we tried to install a CRM managed solution with alternate keys that has "Can be customized = false" on an entity into a new clean CRM instance.

    The workaround now is to install a version of the managed solution with "Can be customized = true" and then update it with a new managed solution that has "Can be customized = false". CRM does not complain when it is an update. Not ideal for a ISV. 

  • Community Member Profile Picture
    on at

    An update, the reason the workaround is working is because CRM does not override the "Can be customized" on the entity when the new version of the solution is imported.

    CrmManagedProp.png

    So the actual fix or workaround is to set everything to False except "Can be customized" when you have an alternate key created on the entity if you need to deploy it as a Managed solution.

  • Felipe Barboza de Lima Profile Picture
    15 on at

    Thanks for your reply.

    That's exactly what I'm doing, but anyway, this is not desirable and I cannot see a reason for that.

  • gdas Profile Picture
    50,091 Moderator on at

    Hi Felipe ,

    You can check here  -

    https://msdn.microsoft.com/en-us/library/gg309297.aspx?f=255&MSPPError=-2147217396

  • Felipe Barboza de Lima Profile Picture
    15 on at

    Hi Goutam, thanks for your reply.

    I've already read this article and there is no details about the issue from this post.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans