Remove all Office 365 licenses for a group of users from CSV file via the Azure AD PowerShell module

Use this PowerShell snippet to bulk remove all Office 365 licenses from a list of users, provided via a CSV file. The method detailed here uses the Azure AD cmdlets. …

Continue readingRemove all Office 365 licenses for a group of users from CSV file via the Azure AD PowerShell module

Accessing audit events for Microsoft 365 Group mailboxes

As a follow up to one of my previous posts, here’s the *supported* method of querying audit events for Office 365/Microsoft 365 Group mailboxes. In a nutshell, you should use the unified audit log instead of the good old Search-MailboxAuditLog cmdlet, which for the record still only works for group …

Continue readingAccessing audit events for Microsoft 365 Group mailboxes