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...
Answered

Publishing More than One Custom AL Extension to Sandbox Environment

(4) ShareShare
ReportReport
Posted on by 37
Hello,
 
I have a D365 BC sandbox environment that I want to add two custom AL extensions to. However, every time I publish one extension, the other is removed from the environment. I need to have both published at the same time. How can this be achieved?
 
Thanks
I have the same question (0)
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,529 Super User 2025 Season 2 on at
    f Extension A depends on Extension B, and you publish a version of Extension B that doesn't match Extension A's expected version (defined in app.json), BC will automatically uninstall Extension A. Double-check that each extension has a unique ID in app.json.
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
  • Verified answer
    Nour_K Profile Picture
    61 on at
    This issue is likely caused by a conflict between the two extensions.
    Please make sure that each extension has a unique App ID (id in the app.json file), as having the same ID will cause one extension to overwrite the other. Also, verify that the name, publisher, and version combination is different unless the extensions are meant to be upgrades of each other.
    Additionally, check for overlapping object ID ranges (e.g., tables, pages, codeunits) between the two extensions, as this can also result in conflicts during publishing. Ensuring both the App ID and object IDs are distinct should allow both extensions to be published at the same time without issue
  • jessb101 Profile Picture
    37 on at
    Thank you Nour and Ramesh!
     
    I copied the app.json from one of the extensions I made, and forgot to change the app ID which was causing the override. I appreciate the help from you both!
  • Suggested answer
    YUN ZHU Profile Picture
    95,763 Super User 2025 Season 2 on at
    Hi, hope the following helps as well.
    What's new in AL - Dependency Publishing
     
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    25,390 Most Valuable Professional on at

    Hi, good day
    I hope this can help you, and give you some hints.

    App identity - Business Central | Microsoft Learn

    Create GUID - Visual Studio Marketplace

    Best Regards
    Gerardo

  • Suggested answer
    Sohail Ahmed Profile Picture
    11,150 Super User 2025 Season 2 on at

    The issue is likely caused by a conflict between the two extensions. Please make sure that each extension has a unique App ID (id in the app.json file), as having the same ID will cause one extension to overwrite the other. Also, verify that the name, publisher, and version combination is different unless the extensions are meant to be upgrades of each other. Additionally, check for overlapping object ID ranges (e.g., tables, pages, codeunits) between the two extensions, as this can also result in conflicts during publishing. Ensuring both the App ID and object IDs are distinct should allow both extensions to be published at the same time without issue.

    ✅ Mark this answer as verified if it helps you.

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 2,116

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 764 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 635 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans