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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Service Update Error

(0) ShareShare
ReportReport
Posted on by

Getting this error when I try to run the most recent service update:

Sync AX database

One or more errors occurred. ---> Microsoft.Dynamics.AX.Metadata.MetadataCorruptedException: The field 'ourcustomfield' on the extension 'PurchPurchaseOrderLineV2Staging.OurCustomExtension' already exists.

Here's the problem, the service update is trying to add a field that we we already added. and so the service update fails.

What to do?

I have the same question (0)
  • Verified answer
    Anton Venter Profile Picture
    20,546 Super User 2025 Season 2 on at

    If I understand correctly, the only solution would be, is to first rename the field you added to the data entity via your extension, deploy that to the environment(s) in question, and then run the service update again.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi Brian, Please check this article

    community.dynamics.com/.../package-deployment-failed-rollback-failed

    Also, try building your custom model with all references to ensure there is no compilation errors in your model. If no issues, then as suggested renaming the field should work.

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 627 Super User 2025 Season 2

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 438 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 358 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans