When an employee leaves, the obvious steps are disabling sign-in, revoking sessions, handling email and OneDrive, removing group memberships, and reclaiming licenses. However, I'm concerned about less visible dependencies such as Power Apps, Power Automate flows, service connections, SharePoint ownership, Teams, Power BI, scheduled tasks, and other resources tied to the user's account. Has anyone developed a reliable offboarding workflow that catches these dependencies without requiring technicians to search every Microsoft 365 admin center manually?
4 Answers
Start with the security basics: confirm the correct user and the approved termination notice, then block sign-in, reset the password, revoke active sessions and refresh tokens, remove authentication methods, and wipe company data from managed or BYOD devices. In hybrid environments, disable the on-premises account, move it to a disabled-users location, and handle any connected identity provider as well. Hide the account from address lists, remove group memberships and licenses, and document every step.
The biggest hidden risk is ownership. Before disabling the account, inventory Power Automate flows, Power Apps, connection references, SharePoint sites, Teams and Microsoft 365 groups, Power BI workspaces, Forms, bookings, scripts, scheduled tasks, and any other automation using the employee’s credentials. Reassign ownership to a service account or group where possible, preferably with at least two owners. Human-owned connections and orphaned flows can keep running for a while and then fail silently when their tokens expire, so waiting for an incident is not a dependable process.
This is exactly what basic account checklists miss. A disabled user can leave behind business-critical automation that nobody notices until approvals, invoices, or other scheduled processes stop.
A practical approach is to use an approval-driven checklist or an offboarding tool rather than expecting technicians to inspect every portal. Export the user’s groups, licenses, roles, mailbox permissions, SharePoint access, resource ownership, and device assignments, then send the ownership report to the manager for decisions. Track technician initials and completion dates, use staged waiting periods, and automate routine actions such as disabling accounts, revoking sessions, removing licenses, and creating reminders. The manager or application owner should be responsible for explaining what business processes depend on the departing employee.
IT shouldn’t have to reverse-engineer every undocumented workflow. Automation can identify likely dependencies, but the business owner still needs to confirm what should be transferred, archived, or retired.
Treat the mailbox and data separately from the login. Convert the mailbox to a shared mailbox when appropriate, configure an out-of-office message and approved delegation, remove personal forwarding, and decide how long the mailbox should be retained. Preserve or transfer OneDrive and SharePoint data according to your retention, legal-hold, and compliance requirements. Some organizations keep a temporary hold for 30, 90, or even several years, depending on policy. Don’t remove the license until the retention and access decisions are complete.
The retention period should be driven by business and legal requirements, not just a default timer. Managers should confirm what data and mailbox access they actually need before the account is permanently deleted.

I’d also make sure the user’s manager, department, title, and reporting relationships are updated or reassigned, especially when dynamic groups or access rules depend on those attributes.