Agent 365 Audit Log Coverage: A Security Lead's Review

Assess whether you can reconstruct an agent action before approving broader access. I treat AI agent audit logs as a test of independent evidence, not a count of enabled settings.
You need to establish who authorized an action, which identity executed it, and what happened to the data. A missing link creates problems during a data-leakage investigation, an audit finding, or an insurance renewal. Start by defining the boundary.
Key Takeaways
- Agent 365 is a governance and control plane, not an agent runtime. Assess evidence across the agent, its identity, its host, and the Microsoft 365 services it uses.
- Verify that Unified Audit Logging is enabled, then perform a controlled action and retrieve its record. An empty search doesn't prove coverage.
- Audit retention depends on the user's license and applicable policies. Standalone Microsoft 365 Copilot doesn't extend audit retention.
- The Office 365 Management Activity API retrieves generated audit events, but it doesn't create missing instrumentation or turn chat transcripts into independent evidence.
Set the Agent 365 evidence assessment boundary
Separate governance from execution
Microsoft Agent 365 is a governance and control plane, not an agent runtime. Microsoft announced general availability for Agent 365 on May 1, 2026. As of October 2026, the core offering is GA; that does not make every connected integration generally available.
I scope coverage across the agent, its identity, its host, and the Microsoft 365 services it touches. An agent inventory alone cannot establish whether a SharePoint file was accessed or an Exchange forwarding setting changed. Document an evidence source for each action. A Microsoft 365 audit log is one link in the evidence chain, not proof of every action across connected services.
Separate agent statements from platform evidence
Agent self-logs are self-reported evidence. They describe what the agent says it attempted, but they cannot independently prove what the platform accepted.
Keep audit records separate from chat transcripts. Link them through a shared correlation identifier where supported, and preserve identity, timestamp, target, operation, and outcome. Where that identifier does not cross a service boundary, document the remaining correlation method. Do not promise complete tool-call coverage without event-level proof.

Verify ingestion before testing coverage
Establish the tenant setting and administrator permission
Connect to Exchange Online PowerShell and run Get-AdminAuditLogConfig | FL UnifiedAuditLogIngestionEnabled to check the Unified Audit Log setting.
A response of True means Unified Audit Logging is enabled. False means it is disabled. Preserve the output with the tenant identifier and collection date.
Changing this setting requires the Audit Logs role. Global Administrators have the necessary permissions by default, but routine administration should use a narrower assigned role. If ingestion is disabled, enable it with Set-AdminAuditLogConfig -UnifiedAuditLogIngestionEnabled $true, following Microsoft's auditing configuration guidance.
Assign an administrator responsibility for the setting. An enabled checkbox without an owner is easy to lose during later tenant changes.
Test an action, then retrieve its record
Perform an approved, low-risk action against a controlled resource. Record the executing identity, target object, operation, and UTC timestamp before searching Microsoft Purview.
Some events can appear within 30 minutes after setup, while all services can take up to 24 hours to begin storing records. These commissioning windows are not a delivery guarantee for every operation.
I require the retrieved record, not a screenshot showing an empty search completed successfully. Record missing events as coverage failures until the cause is established.
Correct the audit log retention assumptions before comparing licenses
Set the baseline first: Microsoft 365 E3, Microsoft 365 E5 with an E5 license, or E5 plus standalone Microsoft 365 Copilot. Agent governance licensing and audit log retention entitlement answer different questions.
Microsoft changed Audit (Standard) from the historical "90 days retention" setting to 180 days for records generated on or after October 17, 2023. The current Microsoft Purview audit search documentation reflects that change.
Use these distinctions in the assessment:
| Licensing baseline | Audit retention position |
|---|---|
| Microsoft 365 E3 or Office 365 E1 | Audit (Standard) generally retains Office 365 audit log records for 180 days. |
| Microsoft 365 E5 (E5 license) | Qualifying user-generated Microsoft Entra ID, Exchange, and SharePoint records receive one-year default retention. |
| E5 plus standalone Microsoft 365 Copilot | Copilot doesn't independently extend audit retention. |
| Qualifying E5 entitlement plus 10-Year Audit Log Retention add-on | Ten-year retention requires the additional entitlement and an applicable policy. |
The assigned user's license determines the Microsoft 365 audit log retention entitlement for records generated by that user. Non-user-generated records follow separate retention rules, so don't assume a human user's policy governs service-principal activity.
An organization can have up to 50 retention policies. Manage them in Microsoft Purview under Audit > Policies; policy administration requires the Organization Configuration role. Portal-only administration isn't a valid restriction, because PowerShell administration is also supported.
I include license assignments, policy precedence, and renewal dependencies in Microsoft 365 migration and licensing services. Buying a longer retention entitlement doesn't repair an event that was never collected.
Search and export without mistaking limits for coverage
Filter the investigation before expanding the export
In Microsoft Purview, open Audit and define the time range, users, activities, and workloads. Preserve those search criteria with the resulting evidence.
For a targeted Exchange investigation, use:
Search-UnifiedAuditLog -StartDate "2026-10-01T00:00:00Z" -EndDate "2026-10-02T00:00:00Z" -Operations Set-Mailbox -ResultSize 5000
The -StartDate, -EndDate, and -Operations parameters narrow the search. Document the timezone used when translating an incident timeline into query boundaries.
Microsoft provides a PowerShell audit search script for repeatable retrieval and export. Preserve the underlying audit payload, including its record identifier. A formatted spreadsheet is useful for review but should not replace the original record.
Distinguish a page limit from a complete result set
The often-repeated 5,000-entry figure applies to particular search workflows, including a maximum Search-UnifiedAuditLog result size per call. It is not a universal Microsoft Purview search ceiling.
For larger PowerShell retrievals, use a consistent -SessionId with -SessionCommand ReturnLargeSet, which supports up to 50,000 results per session. Divide larger collections into bounded time windows.
Older guidance also cites a 50,000-event download ceiling. Export capacity varies by interface and entitlement; do not treat that historical figure as universal.
Reconcile exported counts, deduplicate record identifiers, and preserve every query boundary. Multiple downloads are necessary when the selected workflow reaches its limit.
Build programmatic collection as an operating service
The Office 365 Management Activity API requires Unified Audit Logging. If ingestion is disabled, the API can't supply those audit records.
Register the collector application in Entra ID, assign the Office 365 Management APIs application permission ActivityFeed.Read, and grant administrator consent. DLP-sensitive details require additional permissions. Ordinary audit-read permission doesn't grant blanket access to sensitive content.
The supported content types are Audit.AzureActiveDirectory, Audit.SharePoint, Audit.Exchange, Audit.General, and DLP.All. Those legacy names remain in the API even though the identity product is now Microsoft Entra ID. The documentation for the Office 365 Management Activity API, Management Activity API reference, defines subscription and retrieval behavior.
I require subscription coverage, retrieval checkpoints, duplicate handling, and alerts for collection failures. Route the original payloads to a durable store with retention controls, restricted deletion, and SIEM export to preserve an audit trail. Protect collector credentials separately from agent credentials.
The API retrieves generated events for the Office 365 audit log. It doesn't create missing instrumentation or turn a chat transcript into an independent record. This distinction matters when a collector appears healthy but the required agent action has no corresponding platform event.
Monitor changes that alter access or move data
Prioritize events that can change the investigation outcome. Microsoft documents the available operations in its audit activity catalog; use those operation names rather than inventing an agent-specific event taxonomy.
My initial monitoring scope covers four groups:
- Review privileged role changes, group membership changes, application changes, permission grants, and resource creation.
- Monitor anonymous sharing links, guest access in Microsoft Teams, and Teams creation or deletion.
- Inspect mailbox delegation, inbox forwarding rules, and
Set-Mailboxchanges involvingDeliverToMailboxAndForward. - Correlate agent activity with Microsoft Entra ID sign-ins, service-principal activity, endpoint security telemetry, and relevant Azure resource logs in a SIEM.
A DeliverToMailboxAndForward value alone doesn't identify the destination. Preserve the associated forwarding configuration and the actor who changed it.
Assign each detection an owner and an escalation route. Failed sign-ins belong in the identity evidence stream; don't assume every required identity signal is available through a Purview audit query.

Require a bounded assessment and usable deliverables
Define what gets assessed and delivered
I would scope this engagement around named agents, selected Microsoft 365 workloads, identity dependencies, and the existing collection pipeline. Include hybrid identity, guest access, Conditional Access, endpoint hardening, and cloud infrastructure when they affect attribution or evidence collection.
The deliverable should contain a coverage matrix, retained sample records, licensing and retention findings, and a prioritized remediation roadmap. Each finding needs an owner, a target date, and an acceptance test. The executive summary should explain the commercial consequence: data leakage, investigation delay, downtime, or productivity loss.
That is a concrete scope for cybersecurity risk management services. A broad security review without record-level evidence does not answer the coverage question.
Set the boundary where an engagement adds little value
A standalone Agent 365 engagement is not worth commissioning when there are no deployed agents, no material agent permissions, and no defined deployment decision. Start with tenant security and licensing instead.
For small-business IT teams, add the relevant evidence checks to the monthly security review rather than building a separate reporting ceremony. Review user changes, expired exceptions, collector failures, and retention assignments together.
Nor should an organization already holding tested coverage buy another inventory exercise under a different name. Outside help should resolve a documented gap or produce evidence the internal team cannot currently assemble. More reporting is not automatically better control.
Frequently Asked Questions
What does Agent 365 audit log coverage establish?
Coverage should connect the authorized identity, executing identity, action, affected resource, and retained evidence. A Microsoft 365 audit log is one link in that evidence chain, not proof of every action across connected services.
How do I verify Unified Audit Log ingestion?
Run Get-AdminAuditLogConfig | FL UnifiedAuditLogIngestionEnabled in Exchange Online PowerShell and preserve the output with the tenant identifier and collection date. Then perform an approved, low-risk action and retrieve its record from Microsoft Purview.
How long are Microsoft 365 audit records retained?
Audit (Standard) generally retains Office 365 audit records for 180 days, while qualifying user-generated records under Microsoft 365 E5 receive one-year default retention. Ten-year retention requires a qualifying entitlement, the 10-Year Audit Log Retention add-on, and an applicable policy; standalone Microsoft 365 Copilot doesn't extend retention.
Does the Office 365 Management Activity API capture every agent action?
No. The API retrieves generated events for the Office 365 audit log and requires Unified Audit Logging to be enabled. It doesn't create missing instrumentation or make a chat transcript an independent record.
Does a 5,000-result search limit mean the audit search is complete?
No. The 5,000-entry figure applies to particular search workflows, including the maximum Search-UnifiedAuditLog result size per call. Larger PowerShell retrievals can use a consistent -SessionId with -SessionCommand ReturnLargeSet, which supports up to 50,000 results per session.
Make evidence the acceptance standard
Approve coverage when an investigator can connect the authorized identity, recorded action, affected resource, and retained evidence. Require a named owner for every remaining gap.
The necessary work is a tested evidence chain, not another enabled setting.
Book a free 30-minute call to scope an evidence-readiness assessment.
