All Posts

Who are the key stakeholders of the CLI for Microsoft 365?

The CLI for Microsoft 365 is a cross-platform command-line interface used to manage or automate Microsoft 365 resources. It is a PnP and community-driven initiative that is growing rapidly over...

How do I provision a Team using the CLI for Microsoft 365?

The CLI for Microsoft 365 is a cross-platform command-line interface used to manage or automate Microsoft 365 resources.

Retrieve all site collection owners using the CLI for Microsoft 365

The CLI for Microsoft 365 is a solution provided by the PnP team. It allows you to manage your Microsoft 365 tenant trying to cover multiple services (e.g. SharePoint, Teams,...

Change the owner Group membership of all SharePoint Online sites

I was required to limit the permission of all owners added to the default owner Group and assign them to the default member Group. I created this script using PnP...

List all tabs in Microsoft Teams teams in the tenant using CLI for Microsoft 365

The CLI for Microsoft 365 is a solution provided by the PnP team. It allows you to manage your Microsoft 365 tenant trying to cover multiple services (e.g. SharePoint, Teams,...

How to rename or remove spaces from OneDrive folder name?

The OneDrive for Business folder naming convention is OneDrive - {CompanyName}. Most applications can cope with this naming when storing data on a local drive.

Search in Yammer through the Yammer REST API with PowerShell

You can perform searches in Yammer as described here. The snippet below shows how you can perform a search. The search returns multiple objects: Messages Users Topics Uploaded files Users...

Deploy an SPFx WebPart using GitHub actions and the CLI for Microsoft 365

I prepared a demo on how to deploy an SPFx WebPart to a SharePoint Online site collection using GitHub actions and the CLI for Microsoft 365. In this example, I...

Change the Teams client display language

I had to change the Teams client display language on my Windows machine using PowerShell.

Mozilla Firefox throws Error loading debug manifests when debugging and SPFx solution using Modern Pages

It is common practice to debug a SharePoint Framework solution using Modern pages.

How do I remove a site collection admin from all site collections in SharePoint Online?

I had the requirement to remove a site collection admin assigned to all SharePoint Online site collections with a script. To achieve this goal I was using Pnp PowerShell. The...

How do I install multiple Node versions on my Windows computer?

When working with Node.js you might encounter situations where you need multiple versions of Node.js on the same machine. In my case, I want to create SPFx components for SharePoint...