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.
035 min70
- 01
Export the grant before removing it
by 10 minexpiresRecord 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.
- 02
Revoke the grant, then the refresh tokens it issued
by 25 minIn 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.