In an IR scenario involving a compromised Microsoft 365 account, which command in the Security & Compliance PowerShell module is used to force sign-out of all active sessions?
Trap 1: Clear-M365Session
This command does not exist.
Trap 2: Disable-Mailbox
This disables the account, which is too aggressive for session termination.
Trap 3: Disconnect-ExchangeOnline
This only disconnects the local shell session.
- A
Clear-M365Session
Why wrong: This command does not exist.
- B
Disable-Mailbox
Why wrong: This disables the account, which is too aggressive for session termination.
- C
Revoke-AzureADUserAllRefreshToken
This command revokes all refresh tokens and active sessions.
- D
Disconnect-ExchangeOnline
Why wrong: This only disconnects the local shell session.