Guide · Business Central extensions

When do we need a per-tenant extension in Business Central instead of an AppSource app?

You need a per-tenant extension when a requirement is specific to your business and no standard feature, Copilot capability or AppSource app covers it, such as your own fields, rules, reports or integrations. Choose an AppSource app when a published app already solves the need, because its publisher keeps it current for many customers. A per-tenant extension is AL code in the 50,000 to 99,999 object range, installed on your tenant only, and its publisher must keep it compatible with Microsoft's two major updates a year. Lab0, an official Microsoft partner and your AI implementation partner, compiles and publishes these extensions after a person approves each install.

Updated 2 December 2026 · Written by Lab0

Per-tenant extension or AppSource app: the differences

Both are extensions written in AL, and both run on top of Microsoft's base application. They differ in who they're for, how they're installed and who keeps them working.

QuestionPer-tenant extensionAppSource app
Built forOne customer's tenant and its own requirementsMany customers, published on Microsoft Marketplace (AppSource)
Object ID range50,000 to 99,999, the range Microsoft sets aside for customizationsA range the publisher requests. Microsoft advises new publishers to request the app range, 70,000,000 to 74,999,999
Code analyzerPerTenantExtensionCop, for extensions installed on individual tenantsAppSourceCop, for extensions published to Microsoft Marketplace
How it is installedUploaded to your environments from the Business Central admin centerInstalled from Microsoft Marketplace
Who keeps it currentThe extension's publisher, usually your partner or your own teamThe app's publisher, on Microsoft's release rhythm
If it blocks an updateMicrosoft warns the contacts in the admin center. In the enforced update period it might be uninstalled, and its data is keptAn app that isn't compatible with the latest version might be removed from Marketplace 30 days after that release
Best fitRequirements unique to you, such as your own fields, approval rules, reports and integrationsNeeds that many companies share, such as industry or localization features

Check four things before you build

  • Standard features. Many gaps close with setup. Some new features stay optional until the next major update, and admins switch them on from the Feature Management page.
  • Copilot and agents. Microsoft's own features may already cover the need, such as the Payables Agent for vendor invoices that arrive in a mailbox, the Sales Order Agent for orders that arrive by email, or bank account reconciliation assist.
  • AppSource apps. Partners publish apps for industry and localization needs, and each app's publisher keeps it compatible with Microsoft's releases.
  • Designer. For simple page changes, such as adding or moving fields, Designer builds an extension in the client by drag and drop.

Build a per-tenant extension when a requirement survives all four checks. Tie each extension to the requirement it serves, so you can retire it when a standard feature catches up.

How a per-tenant extension is built and installed

  • AL objects. Tables, pages, codeunits and reports, plus table extensions and page extensions that add fields and behaviour to Microsoft's own objects.
  • Tools. Visual Studio Code with Microsoft's AL Language extension. The compiler turns the project into a .app package with a manifest that names the extension, its publisher and its version.
  • Code analyzers. The AL Language extension ships four: CodeCop for Microsoft's AL coding guidelines, PerTenantExtensionCop for per-tenant extensions, AppSourceCop for Marketplace apps, and UICop for web client customizations.
  • Sandboxes. Developers publish straight from Visual Studio Code to a sandbox and debug there. Outbound HTTP calls from an extension stay blocked in a sandbox until they're allowed for that extension.
  • Production. Upload the .app file from the Business Central admin center or its API, the route Microsoft now recommends. The upload flow on the Extension Management page is deprecated and planned for removal in 2027 release wave 1.
  • Versions. Keep the same app ID and raise the version number for each upgrade. You can also queue a version to install with the next minor or major update.

Keeping a per-tenant extension working through updates

Business Central online gets two major updates a year, in April and October, one for each of Microsoft's two release waves. Microsoft announces breaking changes at least one year ahead, and the compiler warns about code that will become obsolete. Keep the notification contacts in the admin center current, because that's where Microsoft's warnings go.

StageWhat Microsoft doesWhat the extension's owner does
Preview, about a month before each major updateTests per-tenant extensions running in production for technical compatibility, and warns the admin center contactsFix what the check finds, and test the functions on a preview sandbox: Microsoft checks technical compatibility only
Update period, five months from April or OctoberUpdates each environment on the date the admin set, and reports failures with detailsShip a compatible version before the scheduled date
Grace period, one monthAllows no move to a later date, and might warn users in the productResolve the incompatibility at once
Enforced update periodMight uninstall extensions that make the update fail. Their data stays in the environmentInstall a compatible version to bring the extension and its data back

The same calendar drives support after go-live. See how to manage Dynamics 365 release waves.

What you receive from Lab0

Lab0's consultants and engineers lead the work, and its agents do the reading, drafting, configuring and testing under them. Agents start read-only, a person grants write access per chat, and extensions reach a sandbox before production.

  • Discovery and a requirements register. AI-led stakeholder interviews produce cited answers. A person accepts every answer, and accepted answers become a locked register with sources, so each extension traces back to the requirement and the person behind it.
  • The document pack. About 25 delivery documents, including the low-level design, integration design, test plan and cases, and a traceability matrix that links each requirement to its design and tests.
  • A readiness report. A read-only assessment of your Business Central environment, published as a PDF.
  • Compile and publish. The agent compiles AL extensions with Microsoft's code analyzers and publishes them after a person approves the install. It also writes Business Central records, and each write is checked after it runs, where the platform allows.
  • Acceptance tests. Saved API acceptance suites test your processes in a sandbox. They are verified up to draft documents.

A consultant approves every change before it reaches production.

More Dynamics 365 implementation guides

FAQ

Common questions

What is a per-tenant extension in Business Central?
A per-tenant extension, or PTE, is an AL extension built for one customer and installed only on that customer's Business Central tenant. It adds or changes tables, pages, reports and code through extension objects, so Microsoft can keep updating the base application underneath it. PTEs use object IDs 50,000 to 99,999, are compiled to a .app package in Visual Studio Code, and are installed from the Business Central admin center.
Should we use an AppSource app or build a per-tenant extension?
Use an AppSource app when a published app already covers the need, because its publisher maintains it for many customers and keeps it in line with Microsoft's releases. Build a per-tenant extension when the requirement is specific to your business, such as your own approval rule, report or integration. Check standard features, Feature Management and Copilot first, and tie each extension to the requirement it serves.
What happens to a per-tenant extension when Business Central updates?
About a month before each major update in April and October, Microsoft tests per-tenant extensions running in production for technical compatibility and warns the contacts set in the admin center. Microsoft checks technical compatibility only, so functional testing stays with the extension's publisher. If an extension still blocks the update in the enforced update period, it might be uninstalled. Its data is kept and returns with a compatible version.
How do we install a per-tenant extension in production?
Upload the .app file from the Manage Apps page in the Business Central admin center, or through the admin center API. Microsoft now recommends this route, and the upload flow on the Extension Management page is deprecated and planned for removal in 2027 release wave 1. Keep the same app ID, raise the version number for each upgrade, and test in a sandbox before production.
Can Lab0 build our per-tenant extension?
Yes. Lab0, an official Microsoft partner, builds the extensions your requirements justify. Its agent compiles AL extensions with Microsoft's code analyzers and publishes them to a sandbox first, after a person approves the install. Each extension traces to its requirement through Lab0's requirements register and traceability matrix, and saved API acceptance suites test your Business Central processes in a sandbox, verified up to draft documents.

Bring your extension list.

Tell us the gaps you plan to close with code. We'll show you which ones need an extension and what Lab0 would run on them.