[REWST - TASK] M365: Invalidate User Sessions
Previous[REWST - TASK] 365/On-Prem: Disable User AccountNext[REWST - TASK] M365/On-Prem: Gather User Details
Last updated
Was this helpful?
This workflow serves as a critical security building block that forces sign-out of all active Microsoft 365 sessions for specified users through Microsoft Graph API calls. MSPs can leverage this automation in security incident response when accounts are potentially compromised, during employee offboarding processes to immediately revoke access, or as part of compliance-driven security protocols requiring session termination. Technically, the workflow validates input parameters, executes a Microsoft Graph API request to invalidate the user's sessions, and includes error handling to ensure reliable execution. This automation component integrates seamlessly with larger workflows like offboarding sequences or security incident response playbooks, enabling MSPs to implement immediate access revocation without manual intervention.
This workflow contains 5 tasks.
user_id - string
The GUID of the user in Azure/Entra
automation_log: Standardized Rewst automation log
success: Boolean; States if workflow was successful.
invalidate_sessions: Validation/verification
check_inputs: Validation/verification
failure_catch: Core integration: noop
Used in input parameter 'endpoint'
Used in transition condition
Last updated
Was this helpful?
Was this helpful?
{{ CTX.user_id }}{{ CTX.user_id|d }}