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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to rename Enums and re-publish to AppSource?

(0) ShareShare
ReportReport
Posted on by 485

After updating my enum names on my extension, I tried to re-deploy my app to AppSource. However, during the validation process, I get this error on all enums I changed:

Name changes are not allowed because it might break the upgrade of existing installations and dependent extensions. 

Is there a way to get by this error? I would still like to update my enum names as I republish.

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    Microsoft Employee on at

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    I will open this up to the community in case they have something to add.

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,187 Moderator on at

    You have to write upgrade code to handle this.

    Please read here:

    docs.microsoft.com/.../devenv-upgrading-extensions

  • Suggested answer
    YUN ZHU Profile Picture
    101,250 Super User 2026 Season 1 on at

    Hi, you need to obsolete the original enum, create a new one, and then modify your code to use the new enum. If there is data, you need to use the upgrade codeunit mentioned by Inge to transfer the value.

    For example,

    pastedimage1660441184160v1.png

    Hope this helps.

    Thanks.
    ZHU

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,306 Super User 2026 Season 1 on at

    You are not supposed to rename objects (including enum) on AppSource because it is under the assumption that there may be another app being dependent on your app. You will need to obsolete the old one and create a new one.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,140 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,362 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,216

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans