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)

Duplicate key error when importing plugin assembly

(0) ShareShare
ReportReport
Posted on by 265

We’re trying to import a managed solution in CRM 2015 on premise.

The solution just contains the Plugin Assembly.

The import is failing with the error ‘Cannot insert duplicate key’ (the dialogue box says ‘A record with these values already exists’).

It does not fail in every environment, but (unfortunately) our UAT and Production environments only.

I think our next step is to delete all plugin processing steps and the assembly and them re-import both. Can’t just delete the assembly because of the dependencies. This seems like quite a desperate thing to have to do in a production environment…. And we don’t want to have to do this at every deployment.

Anyone else come across this? Any other ideas?

Thanks,

Ben

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Tushar2016CRM Profile Picture
    1,130 on at

    HI Ben ,

    Please follow below link if it might help .

    community.dynamics.com/.../144859

    Thanks !

  • Ben Walker Profile Picture
    265 on at

    Thanks Tushar - I think that this (social.microsoft.com/.../duplicate-key-error-when-importing-plugin-assembly) might be the cause of the problem.

    Dev/Test came from different original organisations to UAT/PRD when we upgraded....

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