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

Error with extension not properly connected to separate company

(0) ShareShare
ReportReport
Posted on by 5

Hi there, 

I am installing an extension that I only want active in one company. However, when I try to use my other company where the extension is installed but not connected/active, I get this error on the pages that the extension touches. We can't connect with this other company since it is in a different country and the extension doesn't have localization support. How can I make it so that the extension will not limit activity in the other companies? Thanks. 

image-_2800_1_2900_.png

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, as far as I know there is no way. An environment is an independent database, if you install an extension in this environment, this extension is valid for all companies in this environment.
    Unless it is controlled during the development phase, such as adding a settings page to control whether the function is enabled. But it is not possible to be independent of the company and the extension.

    More details about Understanding the Infrastructure of Business Central Online:

    Understanding the infrastructure of Business Central online - Business Central | Microsoft Learn

    Hope this helps.

    Thanks.

    ZHU

  • bchelpme123 Profile Picture
    5 on at

    Is there any way to not have the error show up? By in the development phase do you mean when the extension is being built?

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

    An extension is applied to all companies in that environment.

    If you want it to be applied to just one company, you need to specify a conditional logic on every code on your extension.

    You can add a boolean field to Company Information and use that as conditional.

    CompanyInformation.Get();

    if CompanyInformation.UseMyApp then

     doThis;

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,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans