Skip to content
In this article
View as Markdown

Microsoft 365 as an Authorization Graph

Oversharing, the two-decision model, Graph permissions and Entra Agent ID

Last reviewed 13 October 2026 · 6 min read

Not a cloud: an authorization graph

It's easy to think of Microsoft 365 as a set of applications. Architecturally it's better described as many workloads sharing three planes: one identity plane (Entra ID), one data-access plane (Microsoft Graph) and one compliance plane (Purview). Copilot, agents and third-party apps all sit on top of those three and inherit whatever state they hold.

Entra holds the users, groups, apps, agents and Conditional Access. Exchange, SharePoint and OneDrive, Teams, Intune and Defender, and Power Platform sit on it. Microsoft Graph is the one API and permission model across them. Purview carries labels, DLP, retention, audit and DSPM for AI. Copilot, agents and third-party apps come last, and inherit everything above.

That inheritance is the point. AI over Microsoft 365 is an authorization-inheritance problem. It shows each user everything they can technically open, and years of oversharing become instantly searchable.

The question to ask of any AI design over Microsoft 365 is: what permission state does the AI inherit, and which second decision says it may process it?

WorkloadIts roleWhy it matters for AI
ExchangeMail and calendarEmail and invitations are injection vectors (ASI01)
SharePoint and OneDriveStorage, with permission inheritanceThe main oversharing surface
TeamsChat and meetings; files live in SharePointMeeting transcripts become grounding
IntuneDevice compliance, fed into Conditional AccessLets you require a compliant device
DefenderXDR and app governanceDetects risky consent and anomalous Graph use
Power PlatformConnectors and Copilot StudioEvery connector is an egress path

Oversharing, and the tools that hide it

SharePoint permissions inherit by default. Breaking inheritance creates item-level ACLs. Sharing links grant access to whoever holds them. Group membership grows. And grants to "Everyone except external users" quietly make a site readable by the whole company. For years, obscurity hid most of that permission debt: nobody found the budget spreadsheet because nobody knew where to look. Semantic search removes the obscurity.

Microsoft offers two controls that limit what search and Copilot surface. Neither changes permissions.

  • Restricted Content Discovery (RCD) is a site-level setting. It affects only tenant-wide search and Microsoft 365 Copilot, it doesn't change who can open anything, and overusing it can degrade performance.
  • Restricted SharePoint Search (RSS) is retiring. New enablement is blocked from 31 July 2026[1], and Microsoft points to RCD instead. Microsoft's page no longer gives a final retirement date (a date of 31 January 2027 was reported earlier and is now unverified), and nothing migrates automatically. Content that RSS was keeping out of results may become discoverable once it goes, unless it's restricted another way or its permissions are fixed. Microsoft's own page describes RSS as a temporary measure that "isn't a security boundary".

The root fix is permission remediation: data security posture assessments, access reviews, and site sensitivity labels that enforce privacy and sharing settings.

The two-decision model

The two decisions behind every answer Microsoft 365 Copilot gives

User

Asks Copilot a question

signs in

Microsoft Entra ID

Identity, groups, Conditional Access

user context

Decision 1: can the user open it?

The item's ACL, inheritance and sharing links

readable items

Decision 2: may the AI process it?

Purview DLP on the Copilot location, by sensitivity label

grounding

Answer

With citations to what it used

Decision 1 is the permission state SharePoint and Exchange already hold, years of it. Decision 2 is a separate Purview DLP policy that can stop the AI processing an item the user is allowed to open. A policy change can take up to four hours to reach Copilot, so Decision 2 is not an instant kill switch.

Decision 2 is a Purview DLP policy on the Microsoft 365 Copilot and Copilot Chat location. With the condition Content contains > Sensitivity labels, it stops Copilot using labelled files and emails in its responses. The items can still appear in citations, but their content isn't processed. In Word, Excel and PowerPoint, Copilot's skills are disabled for a file with a covered label. Prompts that contain sensitive information types can be blocked from processing and from web search.

Four details from Microsoft's documentation shape how you use it:

  • The location is only available in the Custom policy template[2].
  • Selecting it disables every other location in that policy, so Copilot DLP becomes a separate policy estate, and drift between it and your workload DLP is a risk.
  • Policy updates can take up to four hours to reach Copilot[2].
  • In the Office apps, the policy is evaluated when a file is opened, so a label applied mid-session takes effect the next time the file opens.
TypeWhat the app can reachThe risk
DelegatedThe intersection of the app's scopes and the signed-in user's accessConsent phishing; broad *.All scopes
ApplicationThe app's own access, across the whole tenantSites.Read.All means every site
Selected (Sites.Selected, and Lists, ListItems and Files.SelectedOperations.Selected)Nothing until an explicit grant is made on each resource[3]Making that grant requires Sites.FullControl.All, so the identity that grants is privileged

Sites.Selected is generally available for Microsoft Graph and the legacy SharePoint APIs, in both delegated and application forms.

The pattern for an AI connector: use Selected scopes with per-site or per-list grants, under a workload identity with a federated credential, so the connector reads only what you have decided it may.

Entra Agent ID

An agent identity in Microsoft Entra is a special kind of service principal created from an agent identity blueprint. The blueprint is a template and also an identity in its own right, one that can do exactly one thing in the tenant: create and remove agent identities.

Three facts shape how you design with it:

  • Credentials live on the blueprint. Agent identities authenticate using credentials configured on their blueprint[4]. The blueprint may hold client secrets and certificates as well as federated identity credentials, and Microsoft advises against secrets in production. So "credential-less agents" is not true of the system as a whole: one blueprint credential can mint tokens for every agent made from it.
  • Policy applies at the blueprint. Conditional Access policies can target a blueprint and so every agent identity created from it, and disabling a blueprint stops all of its agents authenticating.
  • Permissions can be inherited, by design. Microsoft's documentation describes inheritable permissions: when an administrator grants permissions on the blueprint principal from a resource app marked as inheritable, every agent identity created from that blueprint receives them[5]. The declarations don't grant anything on their own; an administrator still has to consent. This edition of the atlas originally recorded inheritance as an open question; the current documentation resolves it, and you should still test the behaviour in your own tenant.

The design consequence: the blueprint is the blast-radius unit for agents. Scope one blueprint per agent type and data domain, back its credential with a managed identity's federated credential rather than a secret, and monitor token issuance from it as a Tier-0 signal. Copilot Studio can assign agent identities automatically, and Agent 365 gives each agent an Entra Agent ID.

How Microsoft 365 couples to everything else

Coupled withThroughWhy it matters
AzureThe same tenant; a Global Administrator can elevate to the Azure rootMicrosoft 365 administration is Tier-0 for Azure too
Other SaaSSingle sign-on and SCIM; Graph connectors import external contentMap the external ACLs, or the import overshares
Data platformsBulk export, FabricBypasses per-request DLP
AutomationPower Automate, Logic AppsNeeds connector DLP of its own
SecurityDefender, Purview audit, SentinelCopilot interactions are audited events

How it fails

Unlabelled sensitive content passes Decision 2. The four-hour lag leaves a window after every policy change. Policy drifts between the Copilot DLP estate and the workload DLP estate. The identity holding Sites.FullControl.All is compromised. And RSS retires, taking its restrictions with it.

Questions to ask in a review

What's the permission debt, measured? What fraction of sensitive content is labelled? Who holds the granting permission? What happens in the four hours after a policy change? Which sites does RSS currently hide, and what will hide them after January 2027?

Verified claims

The security and provider-specific statements on this page, each tied to the page that says it, the date it was last checked against that page, and the conditions it depends on. The method is set out in the verification standard.

  1. [1]Restricted SharePoint Search is retiring, and from 31 July 2026 it can't be newly enabled; Microsoft points to Restricted Content Discovery instead.

    Source
    Microsoft: Restricted SharePoint Search
    Checked
    13 October 2026, evidence tier T1
    Holds when
    Microsoft 365 tenants licensed for Microsoft 365 Copilot. The page (updated 18 August 2026) gives no final retirement date; the 31 January 2027 date reported earlier is unverified. Check Message Center for your tenant.
  2. [2]A Purview DLP policy for the Microsoft 365 Copilot location uses the custom template only, and updates can take up to four hours to reach Copilot and Copilot Chat.

    Source
    Microsoft: Microsoft Purview DLP for Microsoft 365 Copilot
    Checked
    13 October 2026, evidence tier T1
    Holds when
    Microsoft Purview with a licence that includes DLP for Copilot. Four hours is the stated upper bound, not a guarantee.
  3. [3]Sites.Selected grants nothing until an explicit grant is made on each site, and making that grant requires Sites.FullControl.All.

    Source
    Microsoft: Overview of Selected permissions in OneDrive and SharePoint
    Checked
    13 October 2026, evidence tier T1
    Holds when
    Microsoft Graph and the SharePoint REST APIs, delegated and application permissions. Lists, ListItems and Files Selected scopes follow the same model.
  4. [4]The credentials used to authenticate an agent identity are configured on its agent identity blueprint, not on the agent identity itself.

    Source
    Microsoft: Agent identity blueprints in Microsoft Entra Agent ID
    Checked
    13 October 2026, evidence tier T1
    Holds when
    Microsoft Entra Agent ID, in preview at the time of checking. The credential types a blueprint accepts are listed on Microsoft's separate credentials page.
  5. [5]Permissions granted on a blueprint principal from a resource app marked as inheritable are received by every agent identity created from that blueprint.

    Source
    Microsoft: Agent identity blueprints in Microsoft Entra Agent ID
    Checked
    13 October 2026, evidence tier T1
    Holds when
    Microsoft Entra Agent ID, in preview. Only after administrator consent, and only for resource apps that mark the permission as inheritable. Test in your own tenant.

Should you have any questions regarding this page, please contact us at solutions@alesanalytics.com.

Sources

Every link goes to the publisher: the provider's own documentation, the specification, or the official incident report. Where they change, they are the authority, not this page.

Next steps

Diagrams use the official Microsoft Azure, Microsoft Entra, AWS and Google Cloud architecture icons, as each vendor permits for documentation, and the Kubernetes icon set by the Kubernetes Authors under CC-BY-4.0. Product names are trademarks of their owners.