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

Is there a way to change the app ID of an AL app extension?

(0) ShareShare
ReportReport
Posted on by 481

I have a codebase that won't publish to a sandbox since uses an app ID from another app I deployed to AppSource. Is there a way to generate a new app ID for this codebase (it isn't deployed to AppSource)?

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    No, you will have to withdraw your original app and publish the app with a changed AppId as a new app.

  • jdrco Profile Picture
    481 on at

    Withdraw my app from AppSource?

  • jdrco Profile Picture
    481 on at

    Is the only way to change the app ID through a creation of another project using AL:Go? And just copying the code/logic of the extension on the newly created one?

  • Suggested answer
    Brad_P Profile Picture
    1,549 on at

    The App Id is a Guid. You can generate a Guid and use that as the App Id. The VS Code Extension "Create  Guid" by mwallace is good for this type of generation.

  • Suggested answer
    jdrco Profile Picture
    481 on at

    Will changing the app ID of an app cause any problems?

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    I recommend you create a new copy of your code with the new AppId. 

    Either through a branch on git if you use that or by simply copying your VS Code project to a new folder.

    Do not just change in the app you already have published in case you need to maintain something in the already published version.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    [quote user="jdrco"]

    Withdraw my app from AppSource?

    [/quote]

    Yes, you can unpublish it from the MS Partner senter.

  • Suggested answer
    Brad_P Profile Picture
    1,549 on at

    It depends on the state of the app and environment, but in short - If you're working with PTEs, changing the App Id will change the underlying table and table extension references to the new GUID, which will appear to be data loss (you can create something to copy the data if needed).  

    AppSource App offers are tied to the GUID.

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

    Hi, changing the Guid will create a new table in the database, which means that your original data will be completely lost.

    I have mentioned in the link below how to change the Guid.

    https://yzhums.com/22715/

    pastedimage1660867471888v1.png

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