Automate User Offboarding in Microsoft 365

Hours spent - 50 hours
Happy to share the tricks. Please leave comments for questions.
Major Achivements:
- Using MS Forms to initiate employee offboarding requests / Trigger of PA Flow
- Having IT team to review each requests before termination in effectiveness via PA/Teams Approval App
- Notify requester if request is rejected
- Safe Net to avoid IT admins and key stakeholders being terminated, plus notifications to IT admins.
- Delay of termination until certain date
- Sign-out user from all active MS365 session within 15 mins
- Block user from sign-in
- Update user Job Title in MS365
- Remove user line manager in MS365/Exchange
- Hide user from Global Address List (GAL) in Exchange/Teams
- Remove users from all assigned groups
- Motify Payroll team to remove access via PA/Teams Approval App
To-do
- Notify different branch via Exchange based on the user's branch
- Update employee register / master spreadsheet (Excel online) with their termination date and account status with comments
- Match and read employee personal email from employee register / master spreadsheet for other system termination's references
- Complete automated termination on other platforms via API (HTTP Requests)
References
Automate User Offboarding in Microsoft 365 | Full Tutorial -
In this blog, I show you a template I built to automate employee offboarding in Microsoft 365 that can be leveraged across customers

Quite helpful & inspiring.