Skip to content
ProductWard
Book a call

Business Central MCP Internal_CompanyNotFound: why data calls fail and what to check

Last updated:

Checked against Business Central 28.x and 29.0

If bc_actions_search and bc_actions_describe work but every bc_actions_invoke call fails with Internal_CompanyNotFound, check your configuration first. If it matches Business Central's own connection string, you're looking at the server-side fault users have reported since about 27 July 2026. Users said it cleared on its own. (anthropics/claude-code #81965(external site))

The error

{ "Error": {
    "Code": "Internal_CompanyNotFound",
    "Message": "Cannot process the request because the default company cannot be found. You can specify a default company in the service configuration file, or specify one for each tenant, or you can add a query string in the form of \"company=[name]\". ..." } }

Reported signature: OAuth succeeds, metadata tools return results, and data calls fail.

The cause

What the error means in general

Microsoft's error reference lists Internal_CompanyNotFound for any API call where "the default company can't be found." (Troubleshooting REST API/OData calls(external site))

For the MCP server, the company comes from the Company header. If the header is missing or doesn't match a company in that environment, there's no company to use. (Connect non-Microsoft hosts(external site))

The 2026 server-side reports

From 27 July 2026, users with unchanged, working configurations reported the same failure. They described it as intermittent: outages on 27 July, 29 July, 3 August and 17 August, each clearing with no change on their side. One user reproduced it through their own proxy and through Copilot Studio, not only Claude.

The report was closed on 12 October 2026. The Claude Code maintainer wrote that "the client has nothing to change here," and relayed Microsoft's confirmation, reported by users, that it is a Business Central MCP server bug.

Two things Microsoft hasn't said publicly:

  • Whether it's fixed. There's no public fix notice, and the update 28.5 release notes don't mention it.
  • The root cause. The original reporter tied it to the MCP 2026-07-28 specification, which removed protocol sessions. Microsoft hasn't confirmed that.

The fix

1. Rule out your own configuration.

2. If everything matches, treat it as the reported server issue. There's no client-side fix. Reporters found that adding ?company= to the server URL didn't help, and that tools rejected a company parameter. (#81965(external site))

  • Note the time it started and the tools affected.
  • Report it to Microsoft through your usual support channel, with that evidence.
  • Retry later. Reporters said each episode recovered without changes.

How to prevent it

You can't prevent a server-side fault. You can catch it fast:

  • Turn on MCP telemetry. Every call emits RT0054 with toolInvocationResult and toolInvocationFailureReason. Microsoft's sample query counts failures by tool and reason, so a spike shows up as an outage rather than as scattered user complaints. (MCP telemetry(external site))
  • Keep the connection string as the source of truth for every client, so a mismatch is never the first suspect.
  • Don't build a process that has no fallback if the agent can't reach Business Central for a few hours.

For the rest of running an AI client on Business Central safely, see Running Claude or ChatGPT on Business Central in production. How ProductWard logs and monitors the integrations it runs is on the trust page.

Talk it through

If an AI workflow on Business Central keeps breaking, book a call and we'll look at it with you.

Running AI on Business Central? Start with one workflow.

We connect one workflow read-only, walk you through every decision it makes, and add write access only where you sign off.

Book a 30-minute callTry the live demoStart a free 2-week pilot