AegisAI Perspectives · 179

How does a company stop OAuth consent phishing in Google Workspace and Microsoft 365?

Stop consent phishing: limit which apps users can approve in Microsoft Entra ID and Google Workspace, then find and revoke apps users already approved.

TL;DR
Answer
Stop consent phishing by limiting which apps users can approve in Microsoft Entra ID and Google Workspace, then find and revoke the apps they already approved.
Who it's for
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, start with the two consent settings.
Watch out for
In Microsoft Entra ID, changing a consent setting leaves existing consent grants unchanged, so apps users approved before the change keep their access until you revoke them.
What AegisAI does
AegisAI agents read sign-ins and mailbox activity per account, and raise one explained finding when behavior stops matching the owner.
Book a demo

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.

How does a company stop OAuth consent phishing in Google Workspace and Microsoft 365?

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

  • Consent phishing attacks trick users into granting permissions to malicious cloud applications1.
  • On Microsoft 365, after a user grants consent, the app has account-level access to data without the need for an account in the organization3.
  • In Microsoft Entra ID, a user can by default consent to allow an app to access their mailbox25.
  • In Google Workspace, the default for Unconfigured third-party apps is Allow users to access any third-party apps13.
  • In Microsoft Entra ID, changing a consent setting leaves existing consent grants unchanged5, so the approved apps have to be found and revoked.

The short answer

QuestionAnswer
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

What you can do by the end

  • Set user consent in Microsoft Entra ID and Unconfigured third-party apps in Google Workspace to limit new grants.
  • Find every app a user approved from the consent and authorize events in each audit log.
  • Revoke a granted app on each platform instead of relying on a password reset15.

Short on time? Watch the explainer, or book a demo.

How does a consent phishing attack work?

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.

How do you find and revoke an app a user already approved?

Start with the grants that already exist, because in Microsoft Entra ID a new consent setting leaves them unchanged.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. Revoke on Google Workspace. Set the app to Blocked, which can't access any Google service12, and revoke its token for each user.

  6. 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.

  7. 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.

How do you block consent phishing on each platform?

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 stepWhere it isRole neededWhat it doesWhat it does not doSource
Allow user consent for apps from verified publishers, for selected permissionsMicrosoft Entra admin center: Identity > Applications > Enterprise apps > Consent and permissions > User consent settingsPrivileged Role Administrator; Global Administrator in the admin centerLimits user consent to verified publishers, apps registered in your tenant and low impact permissionsDoes not change existing consent grants6,5
User consent turned off, with the admin consent workflowMicrosoft Entra ID, admin consent workflowNot stated on the overview pageUsers request access and an admin decidesDoes not remove apps approved before the change7,5
Consent to application searchMicrosoft Defender portal: Audit, which searches Microsoft Purview Audit (Standard) or Audit (Premium)Global Administrator is the role the page namesFinds questionable Consent to application activitiesDoes not revoke the app8
OAuth apps pageMicrosoft Defender for Cloud Apps, or the App governance page when app governance is onNot stated on the pageBan or revoke an app by hand, or revoke it by policyDoes not change the user consent setting9
Unconfigured third-party appsGoogle Admin console: Menu > Security > Access and data control > API controlsService Settings administratorSets what users can approve for apps with no access policyDoes not apply to apps configured as Trusted, Limited, Specific Google data or Blocked13,11
Trusted, Limited or Blocked accessGoogle Admin console: API controls, Manage third-party app accessService Settings administratorTrusted reaches all services, Limited only unrestricted ones, Blocked noneA Trusted app keeps access to restricted services12,11
Restricted Google servicesGoogle Admin console: API controls, Restrict or unrestrict Google servicesService Settings administratorApps you haven't trusted stop working and their tokens are revokedDoes not affect apps you marked Trusted14
OAuth Token audit eventsGoogle Workspace Reports API, applicationName tokenNot stated on the pageRecords authorize events per user and appDoes not revoke a token by itself17

Set the Microsoft option and one of the two tighter Google options on the day you finish the revokes.

What can the email layer see?

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.

How AegisAI handles this

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.

Book a demoSee account takeover protection

See your own records: Check your domain.

How to measure it in 30 days

Track three numbers from the audit logs.

  • New Consent to application events per week on Microsoft 365.
  • New authorize events per week on Google Workspace.
  • Apps revoked or set to Blocked out of the apps found.

To see account findings on your own tenant, talk to the team. On day 30, compare new grants per week with week one.

Questions people ask

How does a company stop OAuth consent phishing in Google Workspace and Microsoft 365?

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.

Does MFA stop OAuth consent phishing?

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.

Does a password reset revoke a third-party app in Google Workspace?

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.

Does changing the consent setting remove apps users already approved?

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.

What does a trusted app get in Google Workspace?

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.

Sources

  1. (Microsoft Learn, Detect and remediate illicit consent grants, page dated 3 July 2026, read 20 November 2026)
  2. (Microsoft Learn, Protect against consent phishing, page dated 20 October 2026, read 20 November 2026)
  3. (Microsoft Learn, Configure how users consent to applications, updated 4 August 2026, read 20 November 2026)
  4. (Microsoft Learn, Overview of admin consent workflow, updated 15 June 2026, read 20 November 2026)
  5. (Microsoft Learn, Investigate and remediate risky OAuth apps, updated 18 November 2026, read 20 November 2026)
  6. (Google Workspace Admin Help, Control which apps access Google Workspace data, last updated 10 November 2026, read 20 November 2026)
  7. (Google Workspace Admin Help, Control which third-party and internal apps access Google Workspace data, read 20 November 2026)
  8. (Google Workspace Admin Help, How authorized access works, last updated 10 November 2026, read 20 November 2026)
  9. (Google for Developers, OAuth Token audit activity events, read 20 November 2026)
  10. (FBI IC3, public service announcement on consent phishing, 1 September 2026, read 20 November 2026)
  11. (AegisAI, Account takeover protection for Microsoft 365, read 20 November 2026)
  12. (AegisAI, trusted vendor account takeover detection, read 20 November 2026)
  13. (AegisAI, Account takeover protection)
  14. (AegisAI Perspectives, Control third-party app access to Google Workspace mail)
  15. (AegisAI Perspectives, Gmail API scopes and Microsoft Graph permissions)
  16. (AegisAI, Book a demo)

Recent posts

Every email, investigated.