web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,907 Super User 2025 Season 2 on at
    Issue with removing a field marked for removal in Business Central extension
    We cannot delete the obsoleted fields from our apps yet. It is not supported.
    We have leave them in Removed state for now.
  • Suggested answer
    YUN ZHU Profile Picture
    91,851 Super User 2025 Season 2 on at
    Issue with removing a field marked for removal in Business Central extension
    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
  • Gerardo Rentería García Profile Picture
    23,554 Most Valuable Professional on at
    Issue with removing a field marked for removal in Business Central extension
    Hi
    I hope this can help you: Microsoft Idea (dynamics.com)
    Best
    GR

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,844

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,010

#3
Sumit Singh Profile Picture

Sumit Singh 2,815

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans