Danno Projects
  • Home
  • About
  • Skills
  • Experiences
  • Education
  • More
    Recent Posts Accomplishments
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
  • Tags
  • ASA
  • ASDM
  • Automation
  • AWS
  • Battery
  • Cisco
  • Claude
  • CloudWatch
  • Containers
  • Dell API
  • DevOps
  • DIY
  • DKIM
  • DMARC
  • Docker
  • Exchange Online
  • Firepower
  • Google Workspace
  • Inventory
  • Linux
  • MFA
  • Microsoft 365
  • Microsoft Entra ID
  • Microsoft Graph
  • Migration
  • ModSecurity
  • Monitoring
  • Offboarding
  • PHP
  • PIM
  • Power Automate
  • Power Platform
  • PowerShell
  • Repair
  • Right-to-Repair
  • Rsyslog
  • SAML
  • Security
  • Sena
  • SharePoint
  • SPF
  • Syslog
  • Tools
  • VPN
Hero Image
A Repeatable Microsoft 365 Offboarding Script with Graph PowerShell

Overview Offboarding is one of those tasks that’s simple on paper and easy to get subtly wrong in practice. Miss a step and you end up with a departed user who still has an active session token, a mailbox nobody can read, or a license you’re paying for months later. Between employees and a steady rotation of contractors, I was offboarding people often enough that a checklist in my head wasn’t good enough. This post walks through the script I use now. It takes a UPN and runs the whole sequence the same way every time.

  • PowerShell
  • Microsoft Graph
  • Microsoft Entra ID
  • PIM
  • Exchange Online
  • Automation
  • Offboarding
Thursday, July 9, 2026 Read
Navigation
  • About
  • Skills
  • Experiences
  • Education
  • Recent Posts
  • Accomplishments
Contact me:
  • dannoprojects 'at' gmail.com
  • dannoprojects
  • Dan Rowe

Toha Theme Logo Toha
© 2026 Copyright.
Powered by Hugo Logo