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 :
Small and medium business | Business Central, N...
Suggested Answer

Issue with removing a field marked for removal in Business Central extension

(1) ShareShare
ReportReport
Posted on by 13

Hello,

I'm encountering an issue need some advice.

Here's the situation:

  1. In an older version of our extension published on AppSource, we added a new field to a table.
  2. In the subsequent version, we marked this field as ObsoleteState = Pending since it was no longer needed, and that version was published to AppSource.
  3. In the following version, we changed the field's ObsoleteState from Pending to Removed and published this version to AppSource as well.

Now, in the current version, I want to completely remove this field from the code. However, every time I attempt to remove it, the AL Validation fails with the following error:

error AS0002: The field with name {FieldName} and ID {FieldID} was found in the previous version, but is missing in the current extension. This might break the upgrade of existing installations.

I can't understand why I'm getting this error, since the field was already marked as "Removed" in the last version. Where could the problem be, and how can I properly remove this field without causing upgrade issues?

Thank you!

I have the same question (0)
  • Gerardo Rentería García Profile Picture
    25,392 Most Valuable Professional on at
    Hi
    I hope this can help you: Microsoft Idea (dynamics.com)
    Best
    GR
  • Suggested answer
    YUN ZHU Profile Picture
    95,987 Super User 2025 Season 2 on at
    Hi, As far as I know, there is no way to actually remove the fields, except submitting a SR to Microsoft Support.
    The AppSource extension does not support Force schema sync mode, so there is no way to actually remove the fields.
     
    Maybe my information is not the latest, I hope other experts can give you better advice.
     
    Thanks.
    ZHU
  • Suggested answer
    Mohana Yadav Profile Picture
    61,016 Super User 2025 Season 2 on at
    We cannot delete the obsoleted fields from our apps yet. It is not supported.
    We have leave them in Removed state for now.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,810

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 810 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 676 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans