Filtering SharePoint Custom Metadata in Copilot Studio: Why It Breaks and How to Fix It with Azure AI Search
SharePoint

Filtering SharePoint Custom Metadata in Copilot Studio: Why It Breaks and How to Fix It with Azure AI Search

Content type Blog Post
Author Ejaz Hussain
Publication Date 3 Nov, 2026
Reading Time 7 minutes

The Problem Space

What Copilot Studio’s SharePoint Knowledge Source Actually Does

When you connect a SharePoint site or document library to Copilot Studio as a knowledge source, the platform ingests the content of your documents: the text inside your Word files, PDFs, and pages. That is all it ingests.

The custom metadata columns you have carefully defined on your document library, columns like IT Audience, Document Status, Last Reviewed, Next Review Date, or a custom Document ID, are never retrieved. They are not indexed, not stored, and not passed to the agent. From the agent’s perspective, those columns do not exist.

This is not a bug. It is a product design constraint: Copilot Studio’s SharePoint knowledge type is built for document content retrieval, not structured data querying.

SharePoint Policies library showing custom metadata columns

SharePoint Policies library showing custom metadata columns

The custom columns visible here (Document ID, IT Audience, Document Status, Next Review Date) are invisible to a Copilot Studio agent using native SharePoint knowledge.

The Consequence

Take a concrete example from an IT Helpdesk document library. Every document carries these custom columns:

Column Display Name Internal Name Type
Document ID AM_DocumentID Text
Document Type AM_DocType Choice
Document Version AM_DocVersion Text
IT Audience AM_Tax_1 Choice (All Staff, Contractors, IT Team)
Document Status AM_Tax_2 Choice (Active, Under Review, Archived)
Last Reviewed AM_LastReviewed Date
Next Review AM_NextReview Date

When a user asks “Show me Active policies for Contractors due before December 2026”, the agent has no Document Status field to filter on, no IT Audience to scope by, and no Next Review date to compare against. It performs a semantic search over document text and returns whatever content happens to be most relevant, which may or may not match the user’s intent. The agent itself flags this limitation in its own response.

Copilot Studio agent returning incomplete result for a metadata-filtered query

Copilot Studio agent returning incomplete result for a metadata-filtered query

The agent acknowledges it cannot filter on review date metadata, because those columns were never part of its knowledge.

This gap is well documented by the community. Lee Ford’s article on SharePoint knowledge sources in Copilot Studio: the metadata problem is the clearest public write-up of exactly this issue.

Where AI in SharePoint and Work IQ Fit

Microsoft is actively investing in making SharePoint content more deeply accessible to AI agents. Two initiatives are worth understanding in this context.

AI in SharePoint (Knowledge Agent)

Previously called Knowledge Agent, AI in SharePoint is currently in public preview. It brings AI capabilities to SharePoint with multi-step planning and execution across SharePoint site content, powered by an advanced reasoning model. It requires a Microsoft 365 Copilot licence and is enabled by a SharePoint Administrator via PowerShell (Set-SPOTenant -KnowledgeAgentScope AllSites). The public documentation does not currently describe custom metadata column filtering as a supported capability, but as this feature matures it represents Microsoft’s first-party investment in closing the gap between SharePoint’s rich structured data and what AI agents can reason over. It is worth monitoring closely.

Source: Get started with AI in SharePoint

Work IQ

Work IQ is described by Microsoft as “the intelligence layer that personalizes Microsoft 365 Copilot”, combining data, context, and skills/tools layers. Of particular relevance here is Work IQ MCP tools (currently preview), which enable agents to perform real-time actions within Microsoft 365 contexts (including SharePoint and OneDrive) via the Model Context Protocol. MCP-based integration represents a potential path toward more structured, real-time SharePoint data access, though the public documentation does not explicitly document custom metadata column filtering as a current capability.

Source: Work IQ overview

While Microsoft builds toward first-party solutions in this space, Azure AI Search gives you a production-ready path today.

Recommendation

Use Azure AI Search now. It is production-ready, fully supported as a Copilot Studio knowledge type, and gives you complete control over which columns are indexed and filterable. The pattern works today without waiting for platform updates.

When native SharePoint knowledge is sufficient. If your use case is purely document content retrieval (summarising a policy, answering questions about what a document says), the native SharePoint knowledge source works fine. The gap only matters when users need to filter, scope, or classify results by structured metadata. If your users are asking about documents, native SharePoint knowledge is adequate. If they are asking which documents match certain criteria, you need structured field support.

Monitor Microsoft’s roadmap. Microsoft 365 Roadmap item 516044 is relevant to watch alongside the AI in SharePoint and Work IQ developments above. The direction of travel is clear: Microsoft is investing in richer SharePoint-to-agent integration, but the custom metadata column problem is not yet solved at the first-party level.

References

  1. Lee Ford, SharePoint knowledge sources in Copilot Studio: the metadata problem, https://www.lee-ford.co.uk/posts/sharepoint-knowledge-sources-in-copilot-studio-the-metadata-problem/
  2. Microsoft 365 Roadmap, Item 516044, https://www.microsoft.com/en-US/microsoft-365/roadmap?filters=&searchterms=516044
  3. Microsoft Learn, Get started with AI in SharePoint (preview), https://learn.microsoft.com/en-us/sharepoint/ai-in-sharepoint-get-started
  4. Microsoft Learn, Work IQ overview, https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/work-iq

About the author

Ejaz Hussain

Copilot Lead Architect | Microsoft MVP | Technical Architect | Enterprise M365 & Cloud Solutions | Speaker

E, Hussain (27/10/2026) Filtering SharePoint Custom Metadata in Copilot Studio: Why It Breaks and How to Fix It with Azure AI Search | Office 365 Clinic