Skip to content

Search fails to find specific Business Central AL property documentation pages #63

@DennisFranzmannGOB

Description

@DennisFranzmannGOB

The Microsoft Docs MCP server's search functionality fails to locate specific Business Central AL property documentation pages, even when using precise and relevant search terms.

Example:

When searching for "PreserveWhitespace property XMLport Business Central AL", the search should return the official AL property documentation page: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-preservewhitespace-property but
multiple search attempts with various keyword combinations failed to return the AL property documentation.

Instead, searches consistently returned:

  • .NET XmlDocument.PreserveWhitespace property documentation
  • MSXML IXMLDOMDocument.preserveWhiteSpace references
  • Generic AL development overview pages

This search limitation led to:

  • Incorrect conclusion that the property doesn't exist in AL
  • Multiple unnecessary search attempts (token loss)
  • Poor user experience requiring manual URL discovery

Repro:

  1. Use MS Docs MCP server search tool
  2. prompt eg: "Query the Business Central AL docs if there is some sort of preserve white spaces property that applies to Xml Port objects"
  3. Observe that results don't include the actual AL documentation site url.

ive tested this with github copilot (Models: gpt 4.1, gpt 5, Sonnet 4, Gemini 2.5 pro) and with Cline.
Versions:
copilot: 1.364.0
Cline: 3.26.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions