A malicious application has consent in the tenant

The cloud persistence that outlives every response most teams run. A consent grant is not a session and not a credential, so revoking sessions, resetting the password and re-enrolling MFA all leave it untouched.

Trigger. An unrecognised enterprise application, a consent grant nobody remembers approving, or mail access that survived a password reset.

The first 70 minutes1 of 5 expire
035 min70
  1. 01

    Export the grant before removing it

    by 10 minexpires

    Record the application id, the delegated and application permissions it holds, who consented, when, and every sign-in attributed to the service principal. This is the scope answer; it does not exist once the object is gone.

  2. 02

    Revoke the grant, then the refresh tokens it issued

    by 25 min

    In that order, and both. Removing the consent stops new tokens; it does not invalidate tokens already issued, which remain valid for their lifetime. Revoking the user sign-in sessions is a separate action from removing the application.