
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
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...
Recover Microsoft forms from old users
Microsoft forms are a great way to collect data from the user. However, what happens when the user leaves the...
Creating a document management system with SharePoint
Searching for documents can be a cumbersome and time-consuming task, especially if there is no proper system in place for...
Internal certificates for desktop phones
We are looking at a new cloud based phone system. Most use Poly or Yealink phones, we use 802.1x on...
Intune certificate connector
upgrading to certificate connector 6.2 that is required in Sept 2022, has broke our NDES for intune. I'm collecting all...
Microsoft ATP documentation
We've deployed ATP to our windows workstation, now I'm researching it for our MACs and IOS devices. I pushed it...