Join our Newsletter — 33% off our NHI Course

Who is accountable when an AI assistant performs Office 365 actions outside its intended scope?

Accountability sits with the organisation that enabled the integration, not with the protocol. Security, IAM, and platform owners should define approval rules, data boundaries, and logging requirements before deployment. If an assistant acts outside scope, teams need clear ownership for review, containment, user notification, and policy enforcement across identity, application, and compliance functions.

Why This Matters for Security Teams

When an AI assistant can send mail, move files, create meetings, or trigger workflows in Office 365, the security problem is not just access. It is delegated authority. Once the assistant is wired into identity, mail, and collaboration services, the organisation inherits the risk of over-broad scope, weak approval logic, and poor auditability. The core question is who owns the control plane when the assistant goes beyond intent.

This is why NHI governance matters. The OWASP Non-Human Identity Top 10 treats machine identities as first-class security assets, not incidental implementation details, and NHIMG research on Ultimate Guide to NHIs — Key Challenges and Risks shows how quickly unmanaged non-human access becomes a business issue. In Office 365 environments, a single over-permissioned assistant can expose mailboxes, Teams content, SharePoint data, and compliance records.

Security teams often assume the integration layer, the protocol, or the vendor will absorb responsibility. In practice, many security teams discover the accountability gap only after an assistant has already taken a destructive or disallowed action, rather than through intentional policy design.

How It Works in Practice

Accountability should be assigned to the organisation that approved and operated the integration, with clear ownership across IAM, security operations, application owners, and compliance. The assistant itself is the actor, but it is acting under delegated authority that the organisation defined. That means the control model must cover approvals, runtime restrictions, logging, and incident response before any production rollout.

Practically, the safest pattern is to treat Office 365 access as task-scoped and reviewable. Instead of granting broad mailbox or tenant permissions, teams should issue narrowly bounded, short-lived access and evaluate each action against policy at request time. Current guidance suggests combining policy-as-code with runtime authorisation so the system can decide whether a specific action, such as forwarding email externally or sharing a document, is allowed in the current context. The NIST SP 800-53 Rev 5 Security and Privacy Controls are useful here because they map accountability to access enforcement, logging, and audit review.

  • Define approval rules for each Office 365 action class, not just for the integration as a whole.
  • Limit permissions to the minimum set required for the assistant’s declared task.
  • Use short-lived tokens and revoke them when the task ends or changes scope.
  • Log the intent, the policy decision, the user context, and the exact action taken.
  • Route out-of-scope behaviour into containment, review, and notification workflows.

NHIMG’s analysis of LLMjacking: How Attackers Hijack AI Using Compromised NHIs shows why this matters operationally: once non-human credentials are exposed or misused, attackers can move quickly through connected systems. These controls tend to break down when assistants are given broad tenant-wide privileges because the runtime can no longer distinguish legitimate delegated work from unsafe lateral actions.

Common Variations and Edge Cases

Tighter control over AI assistants often increases operational overhead, requiring organisations to balance user convenience against enforceable boundaries. That tradeoff becomes sharper in shared mailboxes, executive assistants, finance workflows, and cross-tenant collaboration, where legitimate work may look unusual from a static policy perspective.

There is no universal standard for this yet, but current guidance suggests a few consistent exceptions. If the assistant only drafts content and never executes actions, accountability may sit more heavily with the workflow owner and approval chain. If the assistant can execute actions autonomously, the organisation must treat it as a privileged workload with explicit ownership. If a third-party platform mediates the integration, vendor obligations still matter, but they do not replace internal accountability for approval, monitoring, and response.

Emerging practice also distinguishes between the person who requested the integration, the team that approved the permissions, and the operator who monitors the system in production. Those roles should be documented separately so an out-of-scope action does not create ambiguity during incident response or legal review. In environments with poor logging, multiple admins, or overlapping automation tools, accountability often becomes blurred until after a policy violation has already affected mail, files, or meeting data.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 A2 Addresses agent overreach and unsafe autonomous actions in delegated systems.
CSA MAESTRO GOV-2 Covers governance for agent behaviour, ownership, and oversight across workflows.
NIST AI RMF GOVERN Establishes accountability for AI system lifecycle decisions and oversight.
OWASP Non-Human Identity Top 10 NHI-02 Relevant to delegated non-human access and secret misuse in Office 365 integrations.
NIST CSF 2.0 PR.AC-4 Least-privilege access and permissions management are central to scope enforcement.

Inventory the assistant's identities, tokens, and scopes and remove unnecessary access.