AegisAI Perspectives · 179
Stop consent phishing: limit which apps users can approve in Microsoft Entra ID and Google Workspace, then find and revoke apps users already approved.
See it on your own Google Workspace or Microsoft 365 tenant. No MX change.
Or get the Q3 2026 State of the AI Attack report (free, instant download)
Not ready for a demo? Check your domain.

Limit which apps users can approve, then find and revoke the apps they already approved. Microsoft states that in Microsoft 365, resetting passwords or requiring MFA isn't effective against this attack, because these apps are external to the organization4. AegisAI works post-delivery through the Microsoft 365 or Google Workspace API23.
If you run IT for a company of 20 to 500 people on Google Workspace or Microsoft 365, with a small team and no SOC, set the two consent settings below this week. How sign-in and mailbox monitoring works is on the account takeover protection page.
Key takeaways
| Question | Answer |
|---|---|
| How does a company stop OAuth consent phishing in Google Workspace and Microsoft 365? | Limit user consent in Microsoft Entra ID and the Unconfigured third-party apps setting in Google Workspace, then find past grants in the audit logs and revoke them68179 |
| Does a password reset or MFA remove the access? | Not on Microsoft 3654. On Google Workspace, OAuth 2.0 tokens (the credentials an approved app uses to reach data) for certain products are revoked on a password change16. Revoke the app itself on both915 |
| Which Microsoft 365 setting limits consent? | Allow user consent for apps from verified publishers, for selected permissions, or user consent turned off with the admin consent workflow on7 |
| Which Google Workspace setting limits consent? | Unconfigured third-party apps, set to basic info for Sign in with Google or to Don't allow users to access any third-party apps |
| How do I find an app a user already approved? | Consent to application activities in the Microsoft Purview audit log; authorize events in the Google OAuth Token audit log |
Short on time? Watch the explainer, or book a demo.
The attacker gets in through an app the user approves. It takes three steps.
The lure comes first: the attacker uses a phishing attack or injects illicit code into a trusted website to trick users into granting the app consent to access their data2. On the consent screen, the user approves the permissions the app asks for. On Microsoft 365, after a user grants consent to the illicit application, it has account-level access to data without the need for an account in the organization.
On Microsoft 365, a password reset or MFA does not end that access4. The FBI states that once permission is obtained, it can only be revoked by the victim invalidating the token in their application security settings18. An admin can also revoke the app from the console, as the steps below show.
Google Workspace differs in one detail. OAuth 2.0 tokens issued for access to certain products are revoked when a user's password is changed. The help page limits this to certain products.
Treat every unknown approved app as live access until you revoke it.
Start with the grants that already exist, because in Microsoft Entra ID a new consent setting leaves them unchanged.
Search Microsoft 365 for grants. In the Microsoft Defender portal, go to Audit and search the audit log in Microsoft Purview Audit (Standard) or Audit (Premium) for questionable Consent to application activities8.
Search Google Workspace for grants. Read the OAuth Token audit events, where authorize marks when a user authorized access to an application for their data17.
List who approved each app. On Google Workspace, the Security page shows the active OAuth 2.0 tokens for a given user and application, and the token listing and revocation is by user by app15. On Microsoft 365, open the Microsoft Entra admin center, go to Identity > Users > All users, select the user, then select Applications8.
Revoke on Microsoft 365. In Microsoft Defender for Cloud Apps, ban or revoke the app from the OAuth apps page, or create a policy that automatically revokes it9.
Revoke on Google Workspace. Set the app to Blocked, which can't access any Google service12, and revoke its token for each user.
Confirm the revoke. On Google Workspace, check the OAuth Token audit log for any new authorize event from that app17. On Microsoft 365, repeat the Consent to application search from step 18.
Ask each user to remove the app from their own application security settings as well, which is the route the FBI describes.
Run steps 1 and 2 again one week after you change the settings below, and revoke any new grant you find.
Each platform has one setting that decides what a user can approve alone.
In Microsoft Entra ID, a user can by default consent to allow an app to access their mailbox but can't consent to allow an app unfettered access to read and write to all files in your organization. The option Allow user consent for apps from verified publishers, for selected permissions allows limited user consent only for apps from verified publishers and apps registered in your tenant, and only for permissions you classify as low impact6. When user consent is turned off, an admin can let users request access by turning on the admin consent workflow.
In Google Workspace, the Unconfigured third-party apps setting offers Allow users to access any third-party apps (the default), Allow users to access third-party apps that only request basic info needed for Sign in with Google, and Don't allow users to access any third-party apps. Configured apps are apps with an access policy (trusted, limited or blocked)11. A trusted app has access to all Google Workspace services (OAuth scopes), including restricted services. The full access level steps are in how to control third-party app access to Google Workspace mail. What each mail permission lets an app read is in Gmail API scopes and Microsoft Graph permissions.
| Setting or step | Where it is | Role needed | What it does | What it does not do | Source |
|---|---|---|---|---|---|
| Allow user consent for apps from verified publishers, for selected permissions | Microsoft Entra admin center: Identity > Applications > Enterprise apps > Consent and permissions > User consent settings | Privileged Role Administrator; Global Administrator in the admin center | Limits user consent to verified publishers, apps registered in your tenant and low impact permissions | Does not change existing consent grants | 6,5 |
| User consent turned off, with the admin consent workflow | Microsoft Entra ID, admin consent workflow | Not stated on the overview page | Users request access and an admin decides | Does not remove apps approved before the change | 7,5 |
| Consent to application search | Microsoft Defender portal: Audit, which searches Microsoft Purview Audit (Standard) or Audit (Premium) | Global Administrator is the role the page names | Finds questionable Consent to application activities | Does not revoke the app | 8 |
| OAuth apps page | Microsoft Defender for Cloud Apps, or the App governance page when app governance is on | Not stated on the page | Ban or revoke an app by hand, or revoke it by policy | Does not change the user consent setting | 9 |
| Unconfigured third-party apps | Google Admin console: Menu > Security > Access and data control > API controls | Service Settings administrator | Sets what users can approve for apps with no access policy | Does not apply to apps configured as Trusted, Limited, Specific Google data or Blocked | 13,11 |
| Trusted, Limited or Blocked access | Google Admin console: API controls, Manage third-party app access | Service Settings administrator | Trusted reaches all services, Limited only unrestricted ones, Blocked none | A Trusted app keeps access to restricted services | 12,11 |
| Restricted Google services | Google Admin console: API controls, Restrict or unrestrict Google services | Service Settings administrator | Apps you haven't trusted stop working and their tokens are revoked | Does not affect apps you marked Trusted | 14 |
| OAuth Token audit events | Google Workspace Reports API, applicationName token | Not stated on the page | Records authorize events per user and app | Does not revoke a token by itself | 17 |
Set the Microsoft option and one of the two tighter Google options on the day you finish the revokes.
The lure is the part of the attack that arrives by email. Microsoft lists blocking consent phishing emails with Microsoft Defender for Office 365 as a hardening step, against campaigns where an attacker impersonates a known user in the organization10.
The audit logs record the grant itself, as Consent to application on Microsoft 365 and as authorize on Google Workspace. After the grant on Microsoft 365, the app has account-level access to data. A mail filter that blocks the lure does not revoke an app a user already approved. Use the revoke steps above for that.
Pair email filtering with a weekly audit log search.
AegisAI agents read sign-ins and mailbox activity per account, and raise one explained finding when behavior stops matching the owner20. Every finding comes with recommended steps, and your team acts in Entra ID or Google Workspace21. Account takeover protection is in early access, which runs on the connection you already have, review-only, with no MX change22.
Track three numbers from the audit logs.
To see account findings on your own tenant, talk to the team. On day 30, compare new grants per week with week one.
Limit user consent in Microsoft Entra ID and Unconfigured third-party apps in Google Workspace, then find and revoke apps already approved. AegisAI alerts on signs that an internal mailbox has been taken over, so your team can respond before the account is used against colleagues and partners.
Not on Microsoft 365. Microsoft states that resetting passwords or requiring MFA isn't effective against this type of attack, because these apps are external to the organization. On both platforms, revoke the app instead.
Only in part. OAuth 2.0 tokens issued for access to certain products are revoked when a user's password is changed. Revoke the app for each user, because the token listing and revocation is by user by app.
Not in Microsoft Entra ID. Existing consent grants remain unchanged, and users continue to have access based on the permissions previously granted. In Google Workspace, if you change a service to Restricted, previously installed apps that you haven't trusted stop working and tokens are revoked. Search the audit logs and revoke those apps.
A trusted app has access to all Google Workspace services (OAuth scopes), including restricted services. Mark an app Trusted only after you have checked what it asks for.