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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

Deployment Issue with Managed Solution Error

(0) ShareShare
ReportReport
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.

I have the same question (1)
  • SidKicksin Profile Picture
    10 User Group Leader on at
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans