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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Failed to process metadata description - Name: EntityKey, ID:

(0) ShareShare
ReportReport
Posted on by 8

 

We are Receiving the following error When trying to 

Publish all customizations

Publish a Form

Export a Solution

Delete a Solution

etc

 

Error code 80040216

Failed to process metadata description - Name: EntityKey, ID: 6c1734d1-77f3-4af6-b4e5-610b9e7d6ab5

 

Microsoft.Crm.CrmException: Failed to process metadata description - Name: EntityKey, ID: 6c1734d1-77f3-4af6-b4e5-610b9e7d6ab5 --->
System.ArgumentException: An item with the same key has already been added.

 

I have the same question (0)
  • Diana Birkelbach Profile Picture
    140 Most Valuable Professional on at

    Sometimes the webresources are the cause for this error.

    If there are some parallel processes which creates webresources, it may happen that 2 webresources with the same name will be created. But you don't see them in the UI.

    Usually I delete the webresources that were generated by code, until I can publish again.

    Not sure if there might be some other cases, when this error is thrown.

    Kind regards,

    Diana

  • Power Platform Communities Profile Picture
    8 on at

    There are only Global Option sets and Entities in the solution. No Web Resources Created in the Solution yet.

     

    RaghavK_0-1600338542086.png

     

  • Power Platform Communities Profile Picture
    8 on at

     It is Dynamics 365 Trial Version - Unable to even EXPORT the Solution is worrying.

     

    Any assistance you can provide would be greatly appreciated.

  • Diana Birkelbach Profile Picture
    140 Most Valuable Professional on at

    I don't think that the WebResource has to be in the solution in order to force this error. I think the duplicate key is detected on the database.

  • Power Platform Communities Profile Picture
    8 on at

    @Syndicate_Admin wrote:

    Usually I delete the webresources that were generated by code, until I can publish again.


    I'm having the same issue today, importing the solution. What do you mean by deleting the ones "generated by code"? I have many webresources in my Solution that were imported in the original package

  • Suggested answer
    Nishant Rana Profile Picture
    11,325 Microsoft Employee on at

    See if this helps - try to figure out any schema name being duplicated

    nishantrana.me/.../

  • Power Platform Communities Profile Picture
    8 on at

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans