Who owns the custom code in your Business Central system? What to check before your partner changes

Your Business Central partner built a few customizations during the implementation: an approval step, a custom invoice layout, an integration with your warehouse system. They work, and nobody thinks about them. Then the partner is acquired, your consultant leaves, or you decide to move to someone else, and a simple question comes up: do we actually have that code?

Many companies find out they don't. Here's what Microsoft says about who is responsible for custom code in Business Central online, what can go wrong at update time, and the short list of things to check while your current partner is still answering the phone.

Your customizations live in an extension Microsoft doesn't support

In Business Central online, nobody modifies Microsoft's code. Customizations built just for your company are packaged as a per-tenant extension, or PTE: an app installed only in your environment. Apps sold to many companies through Microsoft's marketplace (AppSource) are a different thing, with their own publisher and support.

Microsoft is clear about who stands behind a PTE. Its disclaimer says the creator of a customized extension is responsible for its licensing, and that the extension is subject to the support and billing offered by the creator. It doesn't create any obligation for Microsoft. In practice, if a PTE breaks, Microsoft support will point you back to whoever wrote it.

That's reasonable. The question is what happens when "whoever wrote it" stops being available.

Worried about your project? Answer 10 quick questions to see its risk level and where to look first. Take the 2-minute Health Check.

Twice a year, someone has to keep it working

Business Central online updates itself. Microsoft's documentation says the update period for a new major version starts when it's generally available, typically the first workday of April and October, and lasts five months, followed by a one-month grace period during which the update can't be rescheduled.

Microsoft also says plainly that keeping PTEs up to date is the partner's job, and that incompatible extensions can cause scheduled environment updates to fail. If an extension is still blocking the update after the grace period, Microsoft says it might be uninstalled automatically so the update can go ahead. The extension's data isn't deleted, but the feature stops working. It doesn't come back on its own, either: once a fixed version exists, Microsoft won't reinstall it automatically, and the customer and partner are, in Microsoft's words, "fully responsible for finding a solution." Microsoft also says that if a PTE is blocking a critical security update, it might be uninstalled within 14 days of that update becoming available.

Microsoft emails its warnings to the people listed on the Notification recipients page in the admin center. If nobody is listed, Microsoft says no email is sent. If the only recipient is a consultant who has left your partner, nobody at your company gets the email. Users may see warnings inside Business Central during the grace period, but by then the clock is nearly out.

Having the app isn't the same as having the code

An extension is installed from a compiled package (a .app file). The source code, the part a developer can read and change, is a separate thing. Whether you can get it out of your environment depends on a setting the developer chose when they built it.

That setting is called resourceExposurePolicy. It controls whether others can debug the extension, download its source, or see its source when building on top of it. Microsoft's documentation says all of these options default to false, so by default nobody can download the source. When they are turned on, source can be downloaded from the Extension Management page in Business Central.

Microsoft's own guidance for per-tenant extensions is worth quoting: if the customer owns the IP and approves of exposing it, Microsoft recommends at least allowing debugging and including source in symbols, partly to make "working across resellers easier." In other words, Microsoft expects that you might change partners.

The legal side is separate. Who owns the intellectual property in custom code is a matter for your contract, not a Business Central setting. Microsoft's guidance to partners says they should explain the terms that cover intellectual property rights, upgrade responsibilities and the cost of keeping code updatable. Many implementation agreements still say nothing about it. Some say the partner keeps it. The setting only decides what you can get to; the contract decides what you're entitled to.

What to check now, while things are calm

None of this is urgent until it is. These checks take an afternoon and cost far less now than in the middle of a dispute or a failed update.

  • List what's installed. In the Business Central admin center, the Manage Apps page, filtered to per-tenant extensions, shows every PTE in each environment. Microsoft added PTE management to the admin center in 2024 release wave 2, and its documentation says PTE management on the Extension Management page is being removed in 2027 release wave 1, so the admin center is the place to look going forward. For each extension, write down what it does and who uses it.
  • Ask for the source code and where it's kept. Ask your partner for the source of every PTE, in a repository your company controls or at least can access. Ask whether it matches what's installed, version for version.
  • Read your contract. Look for clauses on intellectual property, source code delivery and what happens at termination. If it's silent, raise it at the next renewal or change order.
  • Check the exposure settings. Ask your partner how resourceExposurePolicy is set on each PTE. If the answer is "all false", ask why, given Microsoft's recommendation above.
  • Fix the notification list. Make sure the Notification recipients page lists someone inside your company alongside the partner. Microsoft recommends team addresses over individual ones, so use a shared mailbox that survives staff changes on both sides.
  • Know your update window. Find out when your environments are scheduled to update and who tests the PTEs in the preview beforehand. Microsoft makes a preview available about a month before each major release.

Most partners will answer these questions without fuss. A good one has already documented all of it. If the answers are vague, or the source code request turns into a negotiation, that's useful information too.

When the code is already gone

Sometimes you're asking too late: the partner has closed, or the relationship has ended badly, and there's no source. That's recoverable, but it costs more. Options usually run from asking the original partner (or its acquirer) for the code, to rebuilding the extension from its behavior, to replacing it with standard functionality or an AppSource app. A rebuilt extension also has to handle the data the old one left in your database.

A senior review should start by asking which customizations you still need at all. In our experience a fair share of custom code from an older implementation does something standard Business Central now does on its own. That's a good time to drop it.

If you're in the middle of a change of partner, our posts on what to do when your partner is acquired and switching partners mid-project cover the rest of the handover.

You don't own your customizations until you can hold the source code and name the person who keeps them working.

Not sure what's running in your system?

If you've inherited customizations nobody can explain, or a partner change has left you unsure what's running in your system, Cateran's rescue and takeover work starts with an inventory of every extension, its source and its update risk. For new or replacement customizations, see how we approach integrations and development.