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

 

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.

 

  • Power Platform Communities Profile Picture
    on at
  • Suggested answer
    Nishant Rana Profile Picture
    11,323 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/.../

  • Power Platform Communities Profile Picture
    on at
    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
    140 Most Valuable Professional 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.

  • Power Platform Communities Profile Picture
    on at
    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.

  • Power Platform Communities Profile Picture
    on at
    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
    140 Most Valuable Professional 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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,459 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,066 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans