Hi Guys,
Have been looking for a ready made PowerShell script for this as would like to tie this into other PowerShell scripts I have. The issue is that either its not been implemented in Office 365 or no one is aware. All that seems to be out there is password expiration policies and scripts. Does anyone have any info on this?
To recap: A PowerShell script that will disable/expire a user account only, no removing licenses or changing to shared mailboxes, just the ability to disable the user like in AD.