Category Archives: Exchange Online

Script to remove mailbox permissions for a user, in bulk

I’ve seen few request for addressing the “remove all permissions a given user has across mailboxes” scenario, so I decided to give it a go. Here we’re talking about mailbox level permissions, and specifically Full Access. A script like that … Continue reading

Posted in Exchange Online, Microsoft 365, Office 365, PowerShell | Leave a comment

Additional data exposed for Email detections events in the Unified audit log

As part of Roadmap item #70744, Microsoft has enriched the Email detections event data ingested to the Unified audit log with additional details. Those include the following new properties: AdditionalActionsAndResults – The additional actions that were taken on the email, … Continue reading

Posted in Exchange Online, Microsoft 365, Office 365 | Leave a comment

Did you know: Search-Mailbox adjusting permissions on target folder

While browsing the Unified audit log in search for events related to some tests I performed the other day, I noticed something interesting. Namely, the “copy search results” workflow initiated by good old Search-Mailbox cmdlet took care of stripping folder-level … Continue reading

Posted in Exchange Online, Microsoft 365, Office 365, PowerShell | Leave a comment

ExchangeOnlineManagement version 2.0.5 released

In case you missed it, a new version of the ExchangeOnlineManagement PowerShell module was released over the weekend, namely 2.0.5. The changelog for this version is rather short and only lists four new added cmdlets: Get-OwnerlessGroupPolicy and Set-OwnerlessGroupPolicy, used to … Continue reading

Posted in Exchange Online, Microsoft 365, Office 365, PowerShell | Leave a comment

Reporting on Manager and/or DirectReports in Office 365

Getting a list of all the direct reports for a given user, or similarly building the manager’s chain seems to be a common question lately, so I figured I’d write a short article on this. There are few different ways … Continue reading

Posted in Azure AD, Exchange Online, Graph API, Microsoft 365, Office 365, PowerShell | Leave a comment