How to bulk rename items in SharePoint Online and OneDrive for Business

In this article, we examine some basis examples for renaming items (files) stored in SharePoint Online or OneDrive for Business, in bulk. The code samples leverage the Graph SDK for PowerShell’s cmdlet, and a sample using PnP PowerShell is provided as well. As for the scenarios we cover, we start with a simple rename to lowercase, followed by CSV-based example and an example that leverages both the item’s properties and fields. …

Continue readingHow to bulk rename items in SharePoint Online and OneDrive for Business

Enabling litigation hold on an Exchange Online mailbox fails because of invalid license

A query came up about not being able to activate Litigation hold on a (shared) mailbox in Exchange Online. While the there have not been any changes in the process of enabling a hold on a mailbox, we did get a change in the provisioning behavior for shared mailboxes few …

Continue readingEnabling litigation hold on an Exchange Online mailbox fails because of invalid license

News roundup: new host, renewed as MVP, and the new edition of the Office 365 for IT Pros book

You might have noticed that I haven’t been very active on the blog lately, and to some extent on the various communities. It’s not because AI took our jobs, not yet 🙂 I’ve been of course very busy with reviewing the latest (12th) edition of the Office 365 for IT …

Continue readingNews roundup: new host, renewed as MVP, and the new edition of the Office 365 for IT Pros book

Using the Get-MessageTraceV2 cmdlet to generate mail traffic statistics by user

In this article we explore the recently introduced Get-MessageTraceV2 cmdlet and use it to bring new life to the good old Get-DetailedMessageStats.ps1 script. The script has now been updated to work with modern authentication methods and the new “no pagination” approach to fetching message trace data, as well as to handle scenarios that have become available since its initial introduction (i.e. plus addresses). …

Continue readingUsing the Get-MessageTraceV2 cmdlet to generate mail traffic statistics by user