Entra ID User Offboarding Automation with PowerShell and Microsoft Graph
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 347
- Forks
- 191
- Avg merge
- 5d 16h
- Merged PRs (30d)
- 10
Description
This sample provides a comprehensive PowerShell-based solution for automating Microsoft Entra ID user offboarding processes. The automation is designed to help Microsoft 365 administrators perform common offboarding tasks in a consistent, secure, and auditable manner, reducing the risk of missed steps during user separation.
The solution leverages Microsoft Graph PowerShell SDK and Exchange Online PowerShell to streamline activities such as disabling user accounts, revoking active sessions, removing group memberships and license assignments, converting mailboxes to shared mailboxes, configuring automatic replies, hiding users from the Global Address List, and generating detailed audit logs. The sample follows a modular approach, allowing administrators to customize the workflow based on organizational requirements.
This contribution aims to provide the Microsoft 365 community with a practical, real-world automation framework that improves operational efficiency, strengthens security, and supports standardized offboarding procedures across Microsoft Entra ID environments.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the proposed PowerShell workflow against the Microsoft Graph PowerShell SDK and Exchange Online PowerShell entry points described in the issue. Define the modular offboarding scope and verify that the finished sample covers the listed account, session, membership, licensing, mailbox, reply, address-list, and audit-log tasks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- cloud, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100