Skip to main content

Notifications

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?

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: Service Update Error

    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.

  • Verified answer
    Anton Venter Profile Picture
    Anton Venter 19,493 Super User 2025 Season 1 on at
    RE: Service Update Error

    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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,074 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans