Shadow AI Agents: Where They Hide in Microsoft 365 and How to Find Them

Map of where shadow AI agents hide in a Microsoft 365 tenant

A shadow AI agent is any agent that runs in your organization without IT knowing it exists, who owns it, or what it can reach. In Microsoft 365, they appear in five places: Copilot Studio, Microsoft Foundry, partner apps, other clouds, and employees’ own devices. Microsoft now gives you a way to see each of them and this basic registry is included with every Microsoft Cloud subscription.

Shadow AI used to be limited to employees pasting data into a public chatbot. Agents change the risk: they do not just answer, they act, with access to files, mailboxes, and business systems. This guide shows where they hide, how to find them, and how to bring them into governance.

Why this is a 2026 problem

The pattern started with people. Microsoft’s 2024 Work Trend Index found that 78% of AI users were bringing their own AI tools to work. Now the same habit applies to building agents and the numbers on impact are already in:

Where shadow agents hide and how to find them

Where the agent comes fromTypical exampleHow you can find it
Copilot Studio and Agent BuilderAn agent a team built for its own process and shared with colleaguesAgent 365 registry (“Published by your org” and “Shared by creator”) and the Copilot Studio agent inventory, which also lists drafts
Microsoft FoundryA custom agent built by a development teamPublished Foundry agents appear in the Agent 365 registry automatically
Partner and third-party agentsAn agent from a SaaS vendor connected to Microsoft 365Agent 365 registry, which includes non-Microsoft agents
Other cloudsAgents running on AWS Bedrock or Google CloudAgent 365 registry sync (public preview)
Employees’ devicesLocal AI agents and MCP server configurations installed by technical usersMicrosoft Defender local agent discovery and the Local Agents page in the Microsoft 365 admin center (preview)
Where shadow AI agents hide in Microsoft 365 and the Microsoft tool that finds each one
Six places to look for shadow AI agents, and the Microsoft tool that shows each one.

One more layer sits around all five: AI apps reached over the network. Shadow AI discovery in Microsoft Entra Global Secure Access shows traffic to unsanctioned AI apps and model APIs. Microsoft Purview’s data security posture management for AI shows which agents and AI apps touch sensitive data. They do not list agents, but they show where data is going.

The registry also flags two categories worth checking first: ownerless agents and unmanaged agents, those created or managed outside Agent 365.

A 4-step plan to find and govern them

Finding shadow agents is only the first step. Use the following four-part process to consolidate discovery sources, assess each agent’s risk and ownership, retire what is unnecessary, and establish recurring controls that prevent the inventory from becoming outdated.

A 4-step plan to find and govern shadow AI agents: turn on every source, classify, assign or retire, prevent new shadows
The four steps our experts use to turn discovery into a routine.
StepWhat to doOutcome
1. Turn on every sourceReview the Agent 365 registry, enable Defender local agent discovery on onboarded devices, and export the Copilot Studio inventory including drafts.One list instead of five partial ones
2. ClassifyMark each agent as sanctioned, unsanctioned, or unknown, and note its source, owner, and what data it can reach.A risk-ranked inventory
3. Assign or retireGive every sanctioned agent a named owner. Block or delete what nobody claims.No agent without a responsible person
4. Prevent new shadowsDecide who can publish agents, block unsanctioned local agents through Intune, and repeat the review every month.Discovery becomes a routine, not a project

Start with step 1 even if you do nothing else this month. Our experts consistently find that the first inventory is the moment the conversation changes: once the list exists, deciding what to keep is fast.

The orphaned agent problem

Microsoft’s own documentation is direct about it: shared agents can become ownerless when you delete the user who created them. The agent keeps running with the access it has and nobody is accountable for it.

There are now tools to fix this. In the Microsoft 365 admin center, administrators can reassign ownership of agents that have no owner, or block and delete them. For Copilot Studio, Microsoft documents a reassign operation for orphaned agents. The step most organizations miss is the process: add “review agents this person owns” to the offboarding checklist, the same way you recover laptops and licenses.

Mistakes to avoid

Avoid the following mistakes when bringing shadow agents under governance, or teams may create new visibility gaps, drive workarounds, and leave sensitive data exposed.

  • Looking only at Copilot Studio. It is the most visible source, but not the only one. Local agents on developer laptops are often the least governed.
  • Blocking everything. Teams build agents because they need them. Blocking without an approved path just creates the next generation of shadow agents.
  • Treating the inventory as a one-off. New agents appear every week. Discovery must be a monthly routine with an owner.
  • Ignoring the data. An agent can only expose what it can reach. If files are overshared today, fix data overexposure before scaling agents.

Frequently asked questions

What is the difference between shadow AI and shadow AI agents?

Shadow AI typically refers to using unapproved AI apps, such as Claude or Google Gemini. Shadow agents are a step further: software that acts on its own or on a user’s behalf, with access to organizational data, without IT oversight.

What can I discover without an Agent 365 license?

According to Microsoft’s licensing FAQ, the agent registry, discovery of AI on endpoints, and blocking unsanctioned local agents are included with a Microsoft Cloud subscription. Endpoint discovery still depends on Defender and Intune. Registry sync with other clouds, the Agent Map, and lifecycle governance require a license.

Can I block local AI agents?

Partly. The Local Agents page in the Microsoft 365 admin center can create an Intune policy to block common ways of running supported agents, on Intune-managed Windows devices. The feature is in preview and coverage is still expanding.

Does discovery include agents outside Microsoft?

Yes! Using native capabilities, the registry includes partner agents, and sync with AWS Bedrock and Google Cloud is in public preview. Extend this footprint with the Agent 365 Software Development Kit (SDK) with help from the Synergy Advisors development team.

Next step

Synergy Advisors experts help organizations build their first complete agent inventory and turn it into a governance routine through Agent 365 E-xperiences. Explore Agent 365 E-xperiences or register for our free webinar Agent Visibility on December 1.

Several capabilities in this article are in preview and may change. Last reviewed: October 2026.

Sources

Talk to our experts

Ready to take the next step?

A Synergy Advisors expert can help you assess where you are today and plan what comes next in your Microsoft security journey.

Scroll to Top