How to Audit Copilot Studio Agents and Copilot Connectors
To audit every Copilot Studio agent and Copilot connector in your tenant, build the inventory first, then review configuration, then use Microsoft Purview audit logs for history. The Microsoft 365 admin center Agent registry and the Power Platform admin center inventory tell you what exists today. Purview tells you what happened and who did it. Copilot connectors (formerly called Graph connectors) have their own page in the Copilot section of the admin center.
Quick fix: (1) Open the Microsoft 365 admin center, go to Agents > All agents > Registry, and export the list (Microsoft Learn). (2) Open the Power Platform admin center, go to Manage > Inventory, and compare it with the registry (Microsoft Learn). (3) In the Microsoft Purview portal, open Solutions > Audit and search the Copilot Studio operations from the last 180 days (Microsoft Learn). (4) Open the Microsoft 365 admin center, go to Copilot > Connectors > Your Connections, and check each connection’s state and permissions (Microsoft Learn).

Why auditing agents is now a separate job
Agents are not just another app. Tony Redmond, Microsoft MVP and co-author of Office 365 for IT Pros, put it this way in a post on agent governance:
“Agents are different. They’re objects that need to be managed. They consume resources that need to be paid for. They represent potential security and compliance problems that require mitigation.” (Tony Redmond, Office 365 for IT Pros)
The scale is growing fast. On Microsoft’s FY26 Q4 earnings call (July 29, 2026), Satya Nadella said: “Just two months in, Agent 365 now has nearly 40 million agents registered across tens of thousands of companies.” (Microsoft Investor Relations). Note the word “registered”. That figure counts agents in the registry, not agents that are in active use, but it shows why a one-off spreadsheet no longer works.
This guide is written for Microsoft 365 and Teams admins, governance owners and Power Platform admins. The inventory comes first, because an audit log only shows activity for agents you already know about.
What to audit and which roles you need
Plan the audit around five questions for every agent and connector:
- Does it exist, and does anyone own it?
- Who can use it, and how do they sign in?
- What data and actions can it reach (knowledge sources, connectors, HTTP calls)?
- What has changed recently, and by whom?
- What do you do when the answer is wrong?
Roles are split across three admin centers, so check access before you start.
- Agent registry (Microsoft 365 admin center): Global Administrator and AI Administrator can view and manage. Global Reader and AI Reader can view insights and the registry but are read-only on configurations. Security Administrator, Security Reader, Reports Reader and User Experience Success Manager can view the registry. User Account Administrator cannot (Microsoft Learn). Microsoft advises limiting Global Administrator to emergency scenarios, so assign one of the narrower roles for routine audits.
- Power Platform inventory: Global admin, Power Platform admin, Dynamics 365 admin and Global reader see all resources. AI administrator and AI reader see only agents, agentic apps, agent flows, environments and environment groups (Microsoft Learn).
- Purview audit: the roles are Audit Logs (search and manage settings) and View-Only Audit Logs (search only). By default they come through the role groups Audit Manager (both roles) and Audit Reader (View-Only Audit Logs) (Microsoft Learn). Role groups and roles are different things, so assign the narrowest one that fits.
- Copilot connectors: you must be an AI administrator (Microsoft Learn).
- Prompt and response review: the Microsoft Purview Content Explorer Content Viewer role group, used with Data Security Posture Management (DSPM) for AI (Microsoft Learn).
Where each audit surface lives
| Tool | What it shows | Path | Role | Licence notes |
|---|---|---|---|---|
| Agent registry | Every registered agent, owner, status, publisher type, channel, platform. Cards for total, ownerless and unmanaged agents. CSV export | Microsoft 365 admin center > Agents > All agents > Registry | AI Administrator, Global Reader, AI Reader and others | Some features, such as risk signals, need Microsoft 365 E7 or Agent 365. Check your licensing |
| Agent Map | Relationships between agents, users and data, plus agents at risk. Excel export | Agents > All agents > Map | Same as registry | Single Agent Map is preview. Usage filters are limited in large tenants |
| Power Platform inventory | Agents from Copilot Studio and Microsoft 365 Copilot Agent Builder, with owner, channels, authentication and sharing. CSV, API, Azure Resource Graph | Power Platform admin center > Manage > Inventory | Global admin, Power Platform admin, AI administrator (agents only) | Several properties and the connector inventory are preview |
| Classic chatbots | Chatbots from before the new inventory | Power Platform admin center > Manage > Copilot Studio > Classic chatbots | Power Platform admin | Not in the new inventory |
| Purview Audit | Who created, published, shared or changed an agent, and usage events | Microsoft Purview portal > Solutions > Audit | Audit Logs or View-Only Audit Logs | Standard 180 days, Premium longer |
| DSPM for AI (classic) | Risky interactions, transcript content | Microsoft Purview portal > Solutions > DSPM for AI (classic) | Content Viewer role group for text | Check your licensing |
| Copilot connectors | Connection state, permissions, configuration export | Microsoft 365 admin center > Copilot > Connectors | AI Administrator | Check connector and Copilot licensing |
Step 1: Inventory every agent
Microsoft 365 admin center Agent registry
Go to Agents > All agents > Registry. The registry has summary cards for Total agents, Agents without owners and Unmanaged agents, with filters for Status, Publisher Type, Channel, Platform and Data source, and it exports to CSV (Microsoft Learn). Copilot Studio agents register automatically when they are created, and an Entra identity is provisioned for them (Microsoft Learn).
The Agent Map (Agents > All agents > Map) adds an Agents at risk card and exports to Excel (Microsoft Learn). Its Single Agent Map is in preview, and risk signals need an E7 or Agent 365 license, so confirm what your tenant has.
Agent 365 is generally available (since May 1, 2026 for the Commercial segment) and works best with Microsoft 365 E5 as a prerequisite, with at least one user holding an Agent 365 license (Microsoft Learn). Because feature gating differs between the admin center pages, do not assume the registry is empty or full for your tenant until you open it.
The registry also has a Graph API, which is in preview (Microsoft Learn). Do not build production reporting on it without planning for change.
Power Platform admin center inventory
In the Power Platform admin center, go to Manage > Inventory (agents also appear under Manage > Copilot Studio). It includes agents from Copilot Studio and Microsoft 365 Copilot Agent Builder, updates within about 15 to 20 minutes, and can be downloaded to CSV or queried through the Power Platform API, the Power Platform for Admins V2 connector, Azure Resource Graph, or the preview pac resource-query query-resources command (Microsoft Learn). The Query API supports delegated user authentication only, so a service principal gets a 403.
The inventory properties worth exporting are owner, creator, last published date, channels, authentication mode (None, Microsoft Entra or Generic OAuth), who it is shared with (including the entire tenant) and connectors with operations. Several of these are labelled preview (Microsoft Learn).
Classic chatbots and Entra Agent ID
Classic chatbots (the Power Virtual Agents lineage) are not in the new inventory. Find them under Manage > Copilot Studio > Classic chatbots, and note that the quarantine API does not support them (Microsoft Learn). The Center of Excellence Starter Kit dashboard has the same blind spot for chatbots created in the legacy Teams app, and Microsoft documents a Dataverse workaround (Microsoft Learn).
For identity, each Copilot Studio agent gets an Entra agent identity, the creator is recorded as sponsor, and its sign-ins are logged in Entra and visible in the Entra admin center. Agent ID is available to all Microsoft Entra customers, while extending Entra security features to agents requires Agent 365 (Microsoft Learn).
Export both lists and reconcile them. Anything in one but not the other is your first finding.
Step 2: Review risky configuration
For each agent in the export, look for these patterns:
- No owner. A shared agent becomes ownerless when its creator is deleted. Assign a new owner or retire it.
- No authentication. Agents with authentication set to None can be reached without sign-in, depending on the channel.
- Shared with the entire tenant. Broad sharing multiplies the blast radius of any knowledge source or connector the agent uses.
- Risky knowledge sources. Public websites, SharePoint and OneDrive content, and uploaded files all feed answers. Check what data they expose.
- Connectors and HTTP actions as tools. Each connector operation is something the agent can do on a user’s behalf.
- Stale or never published. Use the last published date to find abandoned drafts and agents nobody uses.
- Channels. An agent published to a non-Microsoft channel has different audit billing and exposure (see step 3).
Data policies are the control that prevents these patterns, not just detects them. In the Power Platform admin center under Security > Data and privacy > Data policy, you can block connectors such as “Chat without Microsoft Entra ID authentication in Copilot Studio”, “Knowledge source with SharePoint and OneDrive in Copilot Studio”, “HTTP”, “Skills with Copilot Studio” and “Microsoft Teams + Microsoft 365 Channel in Copilot Studio”. Enforcement is on for all tenants and the older exemption is no longer supported. You need to be a tenant admin or an Environment Admin (Microsoft Learn).
Step 3: Search Purview audit logs for agent activity
Admin logging for Copilot Studio is on by default and cannot be disabled by Copilot Studio (Microsoft Learn). In the Microsoft Purview portal (purview.microsoft.com), open Solutions > Audit. The search form has fields for Activities (friendly names), Activities (operation names), Record types and Workloads.
Events to search
| Operation | What it tells you |
|---|---|
| BotCreate | An agent was created |
| BotDelete | An agent was deleted |
| BotUpdateOperation-BotPublish | An agent was published |
| BotUpdateOperation-BotShare | Sharing changed |
| BotUpdateOperation-BotAuthUpdate | Authentication settings changed |
| BotUpdateOperation-BotNameUpdate | An agent was renamed |
| BotComponentCreate, BotComponentUpdate, BotComponentDelete | Topics and components changed |
| AIPluginOperationCreate, AIPluginOperationUpdate, AIPluginOperationDelete | Plugin (action) changes |
| EnvironmentVariableCreate, EnvironmentVariableUpdate, EnvironmentVariableDelete | Environment variable changes |
| CopilotInteraction (record type) | A user interacted with an agent |
Source: Microsoft Learn. Agent 365 also adds operations such as AIInvokeAgent, AIExecuteTool, AIInferenceCall and AIGuardrail (Microsoft Learn).
The records for agents include fields such as AgentId, AgentName, AgentVersion, AppIdentity, AccessedResources, XPIADetected and JailbreakDetected, and the AppIdentity for Copilot Studio agents follows the pattern Copilot.Studio.<AppId> (Microsoft Learn).
The highest-value searches are the ones that find silent changes: BotAuthUpdate (someone removed authentication), BotShare (someone shared broadly) and BotPublish (a new version went live).
PowerShell example
The same search is available in Exchange Online PowerShell with Search-UnifiedAuditLog, and in the Audit Search Graph API (Microsoft Learn):
Search-UnifiedAuditLog -StartDate (Get-Date).AddDays(-30) -EndDate (Get-Date) `
-Operations BotCreate,BotDelete,"BotUpdateOperation-BotPublish","BotUpdateOperation-BotShare","BotUpdateOperation-BotAuthUpdate" `
-ResultSize 5000 | Select-Object CreationDate,UserIds,Operations,AuditData
Adjust the date range and operations to your needs. Portal searches are limited to a 180-day range. The search job dashboard allows 10 parallel jobs and keeps jobs for 30 days, and exports are capped at 50,000 rows in Standard and 1,000,000 in Premium (Microsoft Learn).
Retention
| Tier | Default retention |
|---|---|
| Audit (Standard) | 180 days (for logs generated on or after October 17, 2023) |
| Audit (Premium) | 1 year for Entra, Exchange, OneDrive and SharePoint records. 180 days for other workloads unless a retention policy extends them |
| 10-year retention | Needs an additional per-user add-on license |
Source: Microsoft Learn. If your compliance needs exceed 180 days, export on a schedule or create a retention policy.
What audit does and does not show
The audit record does not contain the text of prompts and responses. For Copilot Studio it contains a transcript thread ID. To read the actual conversation you use DSPM for AI, which needs the Content Viewer role group (Microsoft Learn). The Purview docs give an account in the Microsoft Entra Compliance Administrator role group as an example of access to DSPM for AI (Microsoft Learn). DSPM for AI also offers one-click policies such as “Detect risky interactions in AI apps” and “Detect unethical behavior in AI”.
On cost: Microsoft’s own pages are not fully consistent. Copilot Studio is described as covered by Audit Standard for Microsoft channels, while agents published to non-Microsoft channels need pay-as-you-go billing (Microsoft Learn). Confirm with your licensing contact before relying on non-Microsoft-channel auditing.
Step 4: Audit Copilot connectors
Microsoft Graph connectors are now called Copilot connectors. Microsoft announced the change in its Copilot Studio roundup in June 2025: “Microsoft Graph connectors are now called Copilot connectors” (Microsoft Copilot blog). The current product name is Microsoft 365 Copilot connectors. The Microsoft Graph connectors API and the Microsoft Graph connector agent for on-premises sources keep their names (Microsoft Learn).
There are two types: synced connectors, which index external content, and federated connectors, which use MCP to read live and are read-only for now, with write actions announced for early October 2026 (Microsoft Learn). Treat federated write actions as something to review once they appear in your tenant.
Where to look
Go to the Microsoft 365 admin center > Copilot > Connectors. The Gallery tab is for adding connectors and Your Connections lists the ones already deployed. The older Settings > Search & Intelligence > Data sources path no longer applies (Microsoft Learn).
What to check on each connection
- Permissions. Each connector sets access to either “Only users with access to the content” or “Everyone in the organization”. “Everyone” is the highest-risk setting for sensitive sources, so confirm it is intentional. For per-user access, identity mapping defaults to email matched to UserPrincipalName or Mail, so check that the mapping resolves for your users.
- Full crawls. Incremental crawls do not process permission updates. Run full crawls periodically so permission changes in the source reach the index (Microsoft Learn).
- Connection state. States are Syncing, Ready, Paused, Failed and Delete failed. Permanent crawl failures are posted in service health under Issues.
- Stale content. Items that are not rediscovered for 28 days are removed from the index when delete detection cannot run.
- Copilot visibility. A toggle controls whether the connection is used by Copilot, and changes can take up to 30 minutes.
- Ownership record. Use More actions to export the configuration to CSV and keep it with your inventory (Microsoft Learn).
Microsoft’s audit activities list does not document Purview events for Copilot connector administration, so rely on the connection state, service health and configuration export above rather than assuming a Purview trail exists.
Step 5: Act on what you find
| Finding | Action | Where |
|---|---|---|
| Agent with no owner | Reassign to a new owner, or delete | Agent registry |
| Unmanaged or unknown agent | Block, then investigate | Agent registry or Power Platform inventory |
| Suspect agent that must stay in place | Quarantine through the Power Platform API | Quarantine API (not supported for classic chatbots) |
| Agent shared with the entire tenant | Restrict sharing | Agent settings or Managed Environments |
| No-authentication or HTTP agents | Block the connector type | Data policy |
| Connector set to Everyone | Switch to “Only users with access to the content” and run a full crawl | Copilot > Connectors |
Details worth knowing:
- Registry governance actions are Block, Reassign and Delete. Deleting an agent built in Copilot Studio requires a Power Platform environment admin, and governance actions are logged in Purview (Microsoft Learn).
- The quarantine API needs Global admin, AI administrator or Power Platform administrator, uses the scope CopilotStudio.AdminActions.Invoke, and the
powervirtualgentsnamespace is deprecated in favour ofcopilotstudio(Microsoft Learn). - Managed Environments can limit agent sharing under Manage > Environments > select a managed environment > Edit Managed Environments > Manage sharing. Existing access is not removed, and enforcement can take up to an hour (Microsoft Learn).
Audit findings fix the past. Provisioning habits fix the future. Governed workspace provisioning, for example standard templates for Teams, channels and SharePoint sites with the right owners from day one, is one way to reduce the number of surprises in the next audit. nBold covers that side of governance for Teams (platform governance), and if you want the security details see our security page. It is complementary to the Microsoft controls above, not a replacement for them.
For related Microsoft 365 controls, see our guides on how Copilot protects enterprise data, Microsoft Teams audit logs, DLP setup for Teams and conditional access.
A recurring audit checklist
| Cadence | Task | Where |
|---|---|---|
| Weekly | Search BotAuthUpdate, BotShare and BotPublish events | Purview > Audit |
| Weekly | Review the Agents without owners and Unmanaged agents cards | Agent registry |
| Monthly | Export registry and Power Platform inventory, reconcile the two | Admin center, PPAC |
| Monthly | Review authentication, sharing and knowledge sources for new or changed agents | Inventory export |
| Monthly | Check connector state, service health issues and Everyone permissions | Copilot > Connectors |
| Quarterly | Review data policies and Managed Environments sharing limits | PPAC |
| Quarterly | Run full crawls where permissions changed in the source system | Copilot > Connectors |
| Yearly | Revisit retention against your compliance requirements | Purview |
Conclusion
An agent audit is an inventory problem before it is a logging problem. Use the Agent registry and Power Platform inventory to find what exists, Purview to see what changed, DSPM for AI when you need conversation content, and the Copilot connectors page to check what data your agents can reach. Then use data policies, sharing limits and registry actions so the same issues do not come back. Several of these features are preview or licence dependent, so confirm them in your own tenant before you commit to a process.
FAQs
How do I see every Copilot Studio agent in my Microsoft 365 tenant?
Start in the Microsoft 365 admin center under Agents > All agents > Registry, which lists agents with owner, status, publisher type, channel and platform, and exports to CSV. Then cross-check the Power Platform admin center under Manage > Inventory (and Manage > Copilot Studio for classic chatbots, which are not in the new inventory). Exact feature gating depends on your licensing, so check yours.
How long are Copilot Studio audit logs kept in Microsoft Purview?
Audit (Standard) keeps records for 180 days. Audit (Premium) keeps Entra, Exchange, OneDrive and SharePoint records for 1 year by default and records for other workloads for 180 days unless a retention policy extends them. 10-year retention needs an additional per-user add-on license. Portal searches are limited to a 180-day date range.
Can I see what users asked a Copilot Studio agent in the audit log?
Not as text. The audit record holds metadata and, for Copilot Studio, a transcript thread ID, not the prompt or response. To read prompts and responses you use Data Security Posture Management for AI in Microsoft Purview, which requires the Microsoft Purview Content Explorer Content Viewer role group.
Were Graph connectors renamed, and where do I manage them now?
Yes. Microsoft Graph connectors are now called Microsoft 365 Copilot connectors. Admins manage them in the Microsoft 365 admin center under Copilot > Connectors, in the Gallery and Your Connections tabs, and you need the AI Administrator role. The Microsoft Graph connectors API and the Microsoft Graph connector agent keep their names.
How do I find Copilot Studio agents that have no owner?
The Agent registry shows an Agents without owners card and a filter for them. A shared agent becomes ownerless when its creator is deleted. From the registry you can assign a new owner, block the agent or delete it.
How do I block or limit risky Copilot Studio agents?
Use the Block, Reassign and Delete actions in the Agent registry, block or quarantine agents from the Power Platform admin center inventory, and prevent risky designs with data policies (for example no-authentication chat, HTTP and knowledge-source connectors) and Managed Environments sharing limits.