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?
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.
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.
André Arnaud de Cal...
292,074
Super User 2025 Season 1
Martin Dráb
230,900
Most Valuable Professional
nmaenpaa
101,156