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

(3) ShareShare
ReportReport
Posted on by 33
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
  • Suggested answer
    Sohail Ahmed Profile Picture
    4,747 on at
    Publishing More than One Custom AL Extension to Sandbox Environment

    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.

  • Gerardo Rentería García Profile Picture
    20,775 Most Valuable Professional on at
    Publishing More than One Custom AL Extension to Sandbox Environment

    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
    YUN ZHU Profile Picture
    85,670 Super User 2025 Season 1 on at
    Publishing More than One Custom AL Extension to Sandbox Environment
    Hi, hope the following helps as well.
    What's new in AL - Dependency Publishing
     
    Thanks.
    ZHU
  • jessb101 Profile Picture
    33 on at
    Publishing More than One Custom AL Extension to Sandbox Environment
    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!
  • Verified answer
    Nour_K Profile Picture
    17 on at
    Publishing More than One Custom AL Extension to Sandbox Environment
    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
  • Suggested answer
    Ramesh Kumar Profile Picture
    5,458 on at
    Publishing More than One Custom AL Extension to Sandbox Environment
    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.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans