Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Unanswered

Deployment Issue with Managed Solution Error

Posted on by 50

I have a managed solution that I have deployed several times successfully to our environments (Stage, UAT, Production) in the past, but recently we had added some SLA KPIs for upcoming SLA enhancements.  Since this happened our solution will deploy to our lower environments (STAGE, UAT), but we are getting an error when we try to deploy to our Production environment.

Error:  Import failed: Cannot insert duplicate key row in object 'MetadataSchema.EntityRelationship' with unique index 'ndx_for_entitykey_UniqueEntityRelationship'. The duplicate key value is (0, Jan 1 1900 12:00AM, mss_purchasingtask_SLAKPIInstances).

I have looked for any KPI instances in Production, but there are none in the table.  It seems like a metadata issue, but I cannot find it. 

Anybody have this type of issue before or have a troubleshooting path I can take?

Thank you.

  • SidKicksin Profile Picture
    SidKicksin 10 User Group Leader on at
    Deployment Issue with Managed Solution Error
    Hi @coldiron, have you figured any way to resolve this. Thanks

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans