How to find the AI apps connected to Google Workspace and Microsoft 365
Would rather we looked for you? We run a free one-time audit scan of one cloud account and go through the results with you. No charge, no commitment.
Free audit scanMonday, 08:40, a hypothetical but common start to the week. The CISO asks: "Is anyone feeding our mail into an AI note-taker?" Nobody bought one. But any user could have clicked "Allow" on an AI assistant, a meeting bot or a chat app connector, and that click gave the app a standing token to their mail, files or calendar. Both admin consoles can show you every one of those grants. Here is where to look, what to run, and which scopes deserve a second look.
To find the AI apps connected to Google Workspace, open the Admin console at Security, then Access and data control, then API controls, then Manage Third-Party App Access. Open Accessed apps, then filter and download the list with its scopes. To find them in Microsoft 365, open the Microsoft Entra admin center at Enterprise apps, then All applications, and check each app's Permissions tab. Or export every delegated grant with Microsoft Graph PowerShell. Search the names for AI terms, then review apps that hold mail, file or transcript scopes, especially grants made for the whole organization.
We checked every console path, API and scope below against Google's and Microsoft's own documentation on 28 November 2026, and link each one. App names such as ChatGPT, Claude, Copilot or "note-taker" are search terms, not findings about those products. Onam sells a platform that lists AI apps in connected SaaS; our section is labelled.
Why AI apps arrive without a purchase order
Both suites let users grant apps access to their own data through OAuth consent. In Microsoft Entra ID, "by default, all users are allowed to consent to applications for permissions that don't require administrator consent". Microsoft's example is that a user can let an app read their mailbox (Microsoft Learn: user consent). Microsoft's permissions reference shows that the delegated versions of Mail.Read, Files.Read.All and Calendars.Read need no admin consent (Microsoft Graph permissions reference). Google Workspace lets admins mark apps Trusted, Limited, Specific Google data or Blocked, and decide what happens to apps nobody has configured yet (Google Workspace Admin Help: control which apps access data).
So the inventory you need is not a list of purchases. It is a list of grants.
Google Workspace: console steps
- In the Google Admin console, go to Security > Access and data control > API controls. You need the Service Settings administrator privilege.
- Click Manage Third-Party App Access. In Accessed apps, click View list. For each app, Google shows the number of users and the "Requested services", meaning the Google APIs (OAuth scopes) the app uses, such as Gmail, Calendar or Drive.
- Click Add a filter > Requested services to show only apps that touch Gmail or Drive.
- Click Download list. For accessed apps, the CSV adds verification status, organizational unit and the API scopes for each service.
- Open any app to see its access setting and the exact OAuth scopes it requests.
All five steps are from Google's app access control article. Two caveats from the same page: details "typically appear 24–48 hours after authorization", and OAuth scopes "aren't shown for Google-owned apps".
Who authorized what, and when. Go to Reporting > Audit and investigation > OAuth log events. The log records each time a third-party app is authorized, with the app name, client ID, scopes and user (Google Workspace Admin Help: OAuth log events). By default it shows the last 7 days, so widen the date range.
AI agents that use Google's MCP tools or CLI. Google now has a separate control for these. External agents that connect through Google Workspace MCP tools or the Google Workspace CLI "sign in using OAuth 2.0 client IDs", so you trust, limit or block them in the same API controls. Under Agents > Settings, you can require user approval for agent actions such as external sharing. Agent actions are then recorded in audit logs with "By an agent", "Agent ID" and "User approved" attributes (Google Workspace Admin Help: control which apps access data).
Google Workspace: the API route
For a scripted, per-user view, use the Admin SDK. Both calls need an admin token with the right scope.
# Tokens one user has granted: clientId, displayText, scopes, nativeApp
GET https://admin.googleapis.com/admin/directory/v1/users/{userKey}/tokens
# Every authorization event in the domain, with app name and scopes
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/token?eventName=authorizeReferences: Directory API tokens.list (requires the admin.directory.user.security scope), the Token resource (clientId, scopes, displayText, anonymous, nativeApp), and OAuth token audit events (authorize, revoke and activity events). The Directory API also has tokens.delete to revoke one user's grant to one app.
Microsoft 365: console steps
- Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.
- Go to Entra ID > Enterprise apps > All applications and select an app.
- Select Permissions. The Admin consent tab shows permissions granted for the whole organization. The User consent tab shows grants made by individual users or groups.
- Select a permission to see its details. You can revoke admin-consented permissions here. User-consented permissions can only be revoked with Microsoft Graph or PowerShell.
Source: Microsoft Learn: review permissions granted to enterprise applications. Checking apps one by one does not scale, so export everything instead.
Microsoft 365: export every grant with Graph PowerShell
Connect-MgGraph -Scopes "Application.Read.All","Directory.Read.All"
# Every delegated grant in the tenant, with the app's display name
$grants = Get-MgOauth2PermissionGrant -All
$grants | ForEach-Object {
$sp = Get-MgServicePrincipal -ServicePrincipalId $_.ClientId
[pscustomobject]@{
App = $sp.DisplayName
AppId = $sp.AppId
ConsentType = $_.ConsentType # AllPrincipals = whole organization
PrincipalId = $_.PrincipalId # the user, for per-user grants
Scope = $_.Scope
}
} | Export-Csv grants.csv -NoTypeInformation
# Application permissions (no signed-in user) for one app
Get-MgServicePrincipalAppRoleAssignment -ServicePrincipalId <service-principal-id> -AllListing grants is read-only: Microsoft names Directory.Read.All as the least-privileged permission, and Global Reader as one of the roles that can run it (Microsoft Graph: list oauth2PermissionGrants). Get-MgOauth2PermissionGrant, Get-MgServicePrincipal and Get-MgServicePrincipalAppRoleAssignment are the cmdlets Microsoft uses in its own review script. The Graph equivalents are GET /servicePrincipals/{id}/oauth2PermissionGrants and GET /servicePrincipals/{id}/appRoleAssignments (Microsoft Learn: review permissions). The tenant-wide list is GET /oauth2PermissionGrants, and each grant has clientId, consentType, principalId, resourceId and a space-separated scope (Microsoft Graph: list oauth2PermissionGrants). Microsoft's guide to illicit consent grants also points to "Consent to application" entries in the Purview audit log, so you can see when each grant was made.
AI agents in the Microsoft 365 admin center. If you license Microsoft Agent 365, its agent registry "lists the agents in your organization", from Microsoft, partners and your own teams. It shows each agent's owner, how much it is used and its risk signals (Microsoft Learn: Agent 365 overview). It is licensed per user, so the Entra and Graph steps above remain the baseline that works in every tenant.
How to spot the AI apps in the list
| Signal | Google Workspace | Microsoft 365 | Why it matters |
|---|---|---|---|
| Name or publisher | App name in Accessed apps | DisplayName and publisher on the service principal | Search for terms like ChatGPT, Claude, Copilot, Gemini, GPT, assistant, AI, note-taker, notetaker, transcript and meeting |
| Data scopes | Gmail, Drive or Chat in Requested services | Mail.*, Files.*, Sites.*, Calendars.*, OnlineMeetingTranscript.* in Scope | Assistants and meeting bots need mail, files, calendars or transcripts to work |
| Breadth | User count on the app | ConsentType of AllPrincipals | One grant for the whole organization reaches everyone's data |
| Verification | Verification status column | Publisher verification on the app | Unverified apps deserve a closer read |
| Standing access | Token still present for the user | offline_access in the scope | The app keeps access while the user is away |
Microsoft describes offline_access as letting the app "see and update the data you gave it access to, even when users are not currently using the app" (Microsoft Graph permissions reference). Name matching is a starting point, not a verdict. A tool built on a language model may not say so in its name, so the scope columns matter more than the names.
Which scopes deserve a second look
Google's own high-risk list. Google publishes the scopes it treats as high-risk for Gmail, Drive and Docs, and Chat, and lets you restrict them (Google Workspace Admin Help). The ones an AI assistant or note-taker is most likely to ask for:
| Scope | Service |
|---|---|
https://mail.google.com/ | Gmail, full access |
https://www.googleapis.com/auth/gmail.readonly | Gmail, read |
https://www.googleapis.com/auth/gmail.send | Gmail, send |
https://www.googleapis.com/auth/drive | Drive, full access |
https://www.googleapis.com/auth/drive.readonly | Drive, read |
https://www.googleapis.com/auth/drive.meet.readonly | Drive, Meet files |
https://www.googleapis.com/auth/documents.readonly | Docs, read |
https://www.googleapis.com/auth/chat.messages.readonly | Chat, read |
Microsoft Graph permissions that read content. Descriptions are from Microsoft's permissions reference:
| Permission | Delegated (on behalf of a user) | Application (no user) |
|---|---|---|
Mail.Read | "Allows the app to read the signed-in user's mailbox"; no admin consent needed | "read mail in all mailboxes" |
Files.Read.All | "read all files the signed-in user can access"; no admin consent needed | "read all files in all site collections" |
Calendars.Read | "read events in user calendars"; no admin consent needed | "read events of all calendars" |
OnlineMeetingTranscript.Read.All | "read all transcripts of online meetings"; admin consent required | "read all transcripts of all online meetings" |
Mail.Send | "send mail as users in the organization" | "send mail as any user" |
Microsoft's own advice for reviewing grants: look for AllPrincipals consent, where "every non-Microsoft application with this permission should be reviewed carefully", and for permissions with Read, Write or All in the name (Microsoft Learn: illicit consent grants).
What to do with what you find
11. Sort by reach
Put organization-wide grants (AllPrincipals, or apps with many users) and application permissions first. Then sort by scope: send and full-access scopes before read-only ones.
22. Find an owner
For each AI app, find the team that uses it and the business reason. An app nobody claims goes to the top of the revoke list.
33. Decide: approve, narrow or remove
In Google Workspace, mark approved apps Trusted or Specific Google data, which limits them to the scopes you choose, and Block the rest. In Microsoft Entra, revoke admin consent in the portal, and remove user grants with Remove-MgOauth2PermissionGrant (Microsoft's documented route for user consent).
44. Stop the next one
In Entra, Microsoft recommends allowing user consent "only for applications that have been published by a verified publisher". The built-in policy microsoft-user-default-low allows user consent only for apps from verified publishers and only for permissions you classify as low impact. In Google Workspace, restrict Gmail and Drive access and choose a setting for unconfigured apps.
55. Watch the logs
Review new OAuth authorizations each week: the Google OAuth log events and the Microsoft Purview "Consent to application" audit entries.
Microsoft also documents Defender for Cloud Apps tools to detect, investigate and remediate OAuth apps, if you already license it.
Where Onam fits (that is us)
Onam's AI security lists AI apps found in connected SaaS platforms, for example Microsoft Copilot and Claude in Google Workspace, in the same AI inventory as managed AI on AWS (SageMaker, Bedrock), Azure (Azure AI services including Azure OpenAI, and Azure Machine Learning) and Google Cloud (Vertex AI). That inventory also covers provider guardrail presence (Bedrock Guardrails, Azure content filters, Google Model Armor), AI-to-data links, and AI agents treated as identities, with findings when an agent has admin or wide write permissions. AI security does not read prompt or answer text unless an admin turns on prompt-text detection, which is off by default. Onam never reads training data or model weights.
- The honest limit: Onam finds AI apps only in the SaaS platforms it connects to. SaaS posture covers 9 platforms: Microsoft 365, SharePoint, Google Workspace, GitHub, GitLab, Bitbucket Cloud, Snowflake, Dynamics 365 and Okta. An AI app connected to another platform, such as Slack or Salesforce, will not appear.
Our prices are public: $20 per unit a month for Complete, which includes data security; $14 per unit a month for Posture; and $39 per active developer a month for code security, with a 25-unit minimum. There is no time-limited trial. Instead there is a free plan of up to 25 units with API-based scanning only, and a free one-time audit scan of one cloud account.
Frequently asked questions
How do I see which third-party apps have access to Google Workspace?
In the Google Admin console, go to Security, then Access and data control, then API controls, then Manage Third-Party App Access, and open Accessed apps. Each app shows its user count and requested services. Download list exports the scopes to CSV. You need the Service Settings administrator privilege.
How do I find which apps users have consented to in Microsoft 365?
In the Microsoft Entra admin center, go to Enterprise apps, then All applications, then pick an app and open Permissions. The User consent tab shows per-user grants. For the whole tenant at once, run Get-MgOauth2PermissionGrant -All in Microsoft Graph PowerShell, or call GET /oauth2PermissionGrants.
Can users connect ChatGPT or Claude to their work email without admin approval?
It depends on your settings. By default, Microsoft Entra lets users consent to permissions that don't need admin consent, and the delegated Mail.Read permission is one of them. In Google Workspace it depends on your API controls: if you restrict Gmail, only apps you mark Trusted or Specific Google data can access it.
Which OAuth scopes are high-risk in Google Workspace?
Google publishes the list for Gmail (for example https://mail.google.com/, gmail.readonly, gmail.send), Drive and Docs (for example drive, drive.readonly, documents), and Chat (for example chat.messages). Admins can restrict access to these scopes.
How do I revoke an app's access to Microsoft 365 data?
Revoke admin-consented permissions on the app's Permissions page in the Entra admin center. Remove user-consented grants with Remove-MgOauth2PermissionGrant or DELETE /oAuth2PermissionGrants/{id}, and remove application permissions with the app role assignment cmdlets.
Are AI meeting note-takers a security risk?
They are as risky as the scopes they hold. A note-taker that can read calendars and meeting transcripts for the whole organization sees much more than one that only joins meetings it is invited to. Check the scopes and the consent type, not the product name.
Corrections
Every console path, API and scope above comes from Google's or Microsoft's own documentation, read on 28 November 2026. Admin consoles change often, so check the linked page if a menu has moved. If anything here is wrong, email hello@onamsecurity.com and we will correct it.
Read next
- How do I list every AI model we run across three clouds?CLI commands for Bedrock, SageMaker, Azure OpenAI, Azure Machine Learning and Vertex AI, merged into one table.
- Is every model behind a guardrail?Bedrock Guardrails, Azure content filters and Model Armor compared.
- See AI in SaaS in the productAI apps found in connected SaaS, listed in the same AI inventory as your cloud AI.
Try it on your own cloud
Start free. The free plan covers up to 25 units of cloud security, with API-based scanning only: posture (CSPM), identity and permissions (CIEM), data stores found through cloud APIs (DSPM checks, no content classification) and AI-SPM. Posture scanning connects through read-only cloud roles, the free plan deploys no agent or scanner, and no card is needed. Register, and the team emails you the login.