Script to remove user(s) from all groups in Office 365

UPDATE Feb 2023: This version of the script is now obsolete due to changes in Exchange Online. An updated version of the script can be found in this article. Often times when a user leaves the company, or for whatever other reason, you are tasked with making sure said user …

Continue readingScript to remove user(s) from all groups in Office 365

Get-Recipient finally returns Office 365 Groups by default

Another one in the series of minor, but very useful improvements in Exchange Online PowerShell – the Get-Recipient cmdlet now returns Office 365 Group mailbox objects by default. Since Get-Recipient is one of my favorite cmdlets and I often used in my scripts, or when just doing a quick check, I couldn’t …

Continue readingGet-Recipient finally returns Office 365 Groups by default

Blocking legacy authentication in Office 365

Finally, we are able to block users and applications from using legacy authentication protocols to access Office 365. This is made possible thanks to the improvements made in Conditional Access, namely the new “Other clients” condition that is currently in Preview. Unlike other CA conditions, the “Other clients” condition can only …

Continue readingBlocking legacy authentication in Office 365