Skip to main content

Notifications

Announcements

No record found.

Power Platform integration forum
Suggested answer

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

Posted on by 3,962

 

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.

 

  • Suggested answer
    Nishant Rana Profile Picture
    Nishant Rana 45 Microsoft Employee on at
    RE: Failed to process metadata description - Name: EntityKey, ID:

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

    nishantrana.me/.../

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

    @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

  • Diana Birkelbach Profile Picture
    Diana Birkelbach 140 on at
    RE: Failed to process metadata description - Name: EntityKey, ID:

    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.

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

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

     

    Any assistance you can provide would be greatly appreciated.

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

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

     

    RaghavK_0-1600338542086.png

     

  • Diana Birkelbach Profile Picture
    Diana Birkelbach 140 on at
    RE: Failed to process metadata description - Name: EntityKey, ID:

    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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,835 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,526 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans