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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Removing tables is not allowed unless they are temporary or are being moved by migration to another app

(0) ShareShare
ReportReport
Posted on by 45


After I extended an exist table in BC and publish it, then I removed the extended table again and published code again, I received this error: 

Removing tables is not allowed unless they are temporary or are being moved by migration to another app.

I searched in community but did not find how to fix the issue, but I follow the solution provided here by Kalman Beres:

https://github.com/Microsoft/AL/issues/3479#issuecomment-419914532

And that fixed my issue, But I hope to know how to avoid such an issue in future, and what is the best practice if someone can help.

Thanks in advance,

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at

    Obsoleting the fields/tables is the proper way to remove.

  • Anita75 Profile Picture
    1,165 on at

    If you are in a Sandbox without actual data in new fields you can delete when uninstalling

  • Y_A Profile Picture
    395 on at

    Hi Nadeer , In this case, were you removing a table extension (extending a standard BC table) or a new table?

    In my case I have a table extension that is extending the Item Cross Reference table that is being deprecated by Microsoft and I have to remove the table extension. I have already marked the fields as obsolete and moved the data to a new table extension but I cannot remove the table extension itself and it is issuing warnings. The Table extension object itself cannot be marked as obsolete as the property does not exist.

    Any help on how I can remove a table extension, maybe? Mohana Yadav

    Thanks!

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    If you are publishing through VS Code, change your schemaUpdateMode to ForceSync.

    If you are publishing through Extension Management, change the Schema Sync Mode to Force.

  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at

    Hi, hope the following will help.

    https://yzhums.com/17671/

    https://yzhums.com/18755/

    Thanks.

    ZHU

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…

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 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans