Remove user from all Microsoft 365 Groups (updated 2023 version of the script)
The script to remove a user, or a set of users from all groups they’re currently a member of has been one of my most popular contributions. Due to the deprecation of older PowerShell modules and connectivity methods across the service, there are potential issues with running the old script. …
Learn more
Continue readingRemove user from all Microsoft 365 Groups (updated 2023 version of the script)