
Script to offboard resigned employee in a hybrid environment
We have an existing decomission script at work but I found this one online and want to add a few items from here.
This script will help in below actions for Exchange online and AD tasks to be removed in a Exchange hybrid environment:
This script will help in below actions for Exchange online and AD tasks to be removed in a Exchange hybrid environment:
- Convert exchange online mailbox to shared Mailbox.
- Disable the Mailbox protocols – OWA,ActiveSync, POP, IMAP, MAPI & OWA for devices.
- Hide the user from GAL.
- Remove the user from respective licenses E3,E5,EMS E3 & EMS E5 Licenses.
- Cancel all the calendar future meetings.
- Remove the user account from all groups.
- Set the account expiry of the AD account.
- Remove the IP Phone Attribute.
- Remove the manager field.
- Set out of office.
More Stories
Micrsoft Defender for Endpoints
We use Microsoft Defender for endpoints on our physical workstations. I'm now looking at it for our servers. The servers...
Sync Active directory user data with SharePoint
If you want to sync standard common attributes from active directory to sharepoint. Its easy, AD sync to Azure AD...
Microsoft graph API to access sharepoint
Recently I've had to setup a few different app registration using Azure AD to access sharepoint sites. Once you get...
SQL upgrades
We have a few SQL servers that need to be upgraded before they go end of life. We are looking...
How to manage the local administrators group on Azure AD joined devices
After a device is deployed likely using autopilot, sometime you have a need to add an AzureAD user to the...
Azure AD and Windows hello for business, SSO for on-premises resources
We disabled WFB when we first rolled out autopilot because we are not ready to deploy and support passwordless at...