SharePoint Online PowerShell module adds support for certificate-based authentication

In a welcome, albeit long-awaited, development, Microsoft has finally added support for certificate-based authentication (or CBA) for the SharePoint Online PowerShell module. The news was published as part of the MC1188595 message center post, which unfortunately is a bit light on the details. So let me fill in the gaps …

Continue readingSharePoint Online PowerShell module adds support for certificate-based authentication

Priority cleanup for SharePoint Online and OneDrive for Business

Microsoft released the Priority cleanup feature in preview earlier this year. The initial version covered only Exchange Online mailboxes, but now support has been added for items stored within SharePoint Online and OneDrive for Business sites. In this article we go over how Priority cleanup works with these two new workloads and highlight some of the differences compared to the Exchange Online scenario. We dive into the use case of cleaning files stored in the Preservation Hold Library due to a retention policy, cover the new Simulation mode, as well as some methods to monitor the progress of the cleanup operation. …

Continue readingPriority cleanup for SharePoint Online and OneDrive for Business

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

Reporting on unlicensed OneDrive (for Business) accounts in Microsoft 365

Last year, Microsoft announced plans to start charging tenants for data stored in unlicensed OneDrives, that is drives that belong to unlicensed Microsoft 365 users. Unlike Exchange Online, where inactive mailboxes provide you with essentially free retention for the duration of any hold/policies assigned to the user, the functionality to …

Continue readingReporting on unlicensed OneDrive (for Business) accounts in Microsoft 365

Remove all sharing links and permissions for items in SharePoint Online or OneDrive for Business

A “proof of concept” script that you can use to remove all sharing links (sharing permissions) across all items stored in SharePoint Online and OneDrive for Business, including Teams sites. The script is indented to be run non-interactively and requires Sites.ReadWrite.All application permissions. …

Continue readingRemove all sharing links and permissions for items in SharePoint Online or OneDrive for Business