How to let AI agents query your data safely: MCP, permissions and the semantic layer
Six rules for giving Claude, ChatGPT or Copilot access to company data: read-only, act as the user, govern definitions, log everything.
Stage 2 of 5: Ground
AI data governance is how we connect Claude, ChatGPT or Copilot to your data safely: read-only by default, acting as the person asking rather than an administrator, picking from approved definitions instead of guessing, and logging every query. We configure Microsoft Purview labels and permission-aware retrieval so AI tools stay inside the access rules you already have.
Last updated

MCP is an open standard, now governed by the Linux Foundation's Agentic AI Foundation, that lets AI assistants connect to tools and data through one consistent interface.
More on Model Context Protocol in our glossaryGiving an AI assistant a direct login to a production system and hoping for the best is how oversharing incidents happen. Governed access means the assistant queries through a controlled layer, the Model Context Protocol, that decides what it can see, what it can do, and what gets logged, the same way you’d control any other integration touching company data. The AI itself never holds broader access than the person using it; the layer between them is where the rules live.
The single most important rule is that an agent should act with the permissions of the person asking, not a shared service account with wide access nobody’s reviewed. In practice that means on-behalf-of authentication, usually through Microsoft Entra or your identity provider, so a query genuinely can’t return what that person couldn’t see anyway. Giving each class of agent its own identity also means a whole category of access can be reviewed, throttled or switched off in one place if something looks wrong, rather than hunting through a shared credential’s history.
For Microsoft 365 businesses, Microsoft Purview does much of the heavy lifting: sensitivity labels and data loss prevention rules that stop Copilot and other assistants grounding on labelled content wherever it lives, not just where it was first classified, alongside a catalogue that tracks lineage and ownership. None of this works automatically, though. Document permissions have to sync properly into whatever index an assistant actually searches, and labels have to be applied consistently before an AI rollout, not discovered as a problem after one.
We configure MCP connections per platform, whether that’s a semantic layer, a warehouse, a graph or a document store, with read-only access as the default and any write action needing explicit human approval before it runs. Agents pick from approved query or Cypher templates rather than writing arbitrary SQL against production, every query is logged, and we test the whole set-up against a known-answer question set so a working demo doesn’t quietly stop working after a schema change nobody noticed.
Governance work assumes your underlying access model already makes sense; it enforces existing rules more consistently, it doesn’t invent good rules from nothing. If nobody in the business can currently say who’s allowed to see what, that’s the conversation to have first. We’ll also say plainly when a certification or standard doesn’t apply to us, rather than imply one we don’t hold, and none of this depends on a partnership with Microsoft, Neo4j or any AI vendor: we recommend whichever platform’s governance features actually fit what you already run.
Map what AI should and shouldn't reach
A short inventory of the systems, documents and sensitivity levels behind the questions your team actually wants to ask AI.
Connect read-only, as the person asking
MCP servers configured for your platforms, authenticating on behalf of the user so an agent can only see what they're allowed to see.
Apply labels and approved query templates
Microsoft Purview sensitivity labels, DLP rules and predefined query or Cypher templates, so agents pick from what's allowed rather than writing anything freeform.
Log, evaluate and hand over
Every query logged, tested against a known-answer set, and documented so your team owns the policy afterwards.
| Rule | What it means here |
|---|---|
| Least privilege and read-only by default | Every AI connection starts read-only, scoped to named systems, with any write action needing explicit human approval before it runs. |
| UK GDPR and data minimisation | Agents are configured to retrieve only what a query needs, and access follows the same lawful-basis and retention rules as any other system query. |
| What agents can do | Governance hook | |
|---|---|---|
| dbt Semantic Layer | Query certified metrics, browse lineage and freshness | Read-only access layer; OAuth or scoped tokens |
| Power BI / Microsoft Fabric | Run DAX over a certified semantic model, browse OneLake tables | Microsoft Entra OAuth; existing permissions enforced. Last verified: September 2026 |
| Snowflake | Cortex Analyst over semantic views, optional read-only SQL | Inherits the warehouse's own role-based access and masking policies |
| Neo4j | Schema introspection, approved Cypher templates | Official server's read-only mode, plus database roles |
Six rules for giving Claude, ChatGPT or Copilot access to company data: read-only, act as the user, govern definitions, log everything.
Findable, defined, trustworthy, traceable, connected, protected, owned. A practical AI data readiness checklist for SMEs and mid-market firms.
Terms used on this page
We make the AI act as the person asking, not as an administrator. That means using their identity, syncing document permissions, honouring sensitivity labels and row-level security, giving read-only access by default, and logging every query.
It can, through the Model Context Protocol, but letting it write free-form SQL against live systems isn't wise. We connect it read-only, through approved definitions and query templates, with the user's own permissions and a full audit log.
The Model Context Protocol is an open standard, now run under the Linux Foundation's Agentic AI Foundation, that lets AI assistants such as Claude, ChatGPT and Copilot connect to tools and data in a consistent way. One governed connection can then serve whichever AI tools your team uses.
Microsoft Purview sensitivity labels and data loss prevention rules can stop Copilot and other assistants grounding on labelled content across Microsoft 365, and document permissions need to sync properly into whatever search index an assistant reads from. We check and configure both before anything goes live.
We build a pipeline that reads documents properly, including tables and headings, splits them sensibly, tags them with owner, date and sensitivity, indexes them for search, and enforces permissions at query time. Every answer cites its source.
It can't: tools are scoped read-only by default, write actions need explicit human approval, and every agent has its own identity so a whole class of them can be reviewed or switched off at once if something looks wrong.