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)
New Discussion

Alternate keys to create an EntityReference failed in Pre-Operation Plugin

(0) ShareShare
ReportReport
Posted on by 870

Hi,

I observerd different behaviour of Alternate keys. If we use Alternate keys to create an EntityReference mentioned in below link it works fine and it is expected behaviour.

https://www.magnetismsolutions.com/blog/ahmed-anwar%27s-blog/2015/04/24/alternate-keys-in-dynamics-crm-2015-online-spring-update

However when you try to use Alternate keys to create an EntityReference in related Pre-Operation of Plugin, it is failing with 'Generic SQL error'.

Has anybody noticed this behaviour/issue anytime before. Please provide your view on same. Happy to discuss.

Thanks,

Anand

*This post is locked for comments

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)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans