All Posts

Retrieve the Known Folder Redirection Folder names from an OneDrive site using PowerShell

My colleagues planned the migration of customer content to OneDrive for Business. Parts of the organization was already using the Known folder redirection feature provided by the OneDrive client. They...

Replace the site collection admin with another user 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. It is a PnP and community-driven initiative that is growing rapidly over...

Replace the membership of a user in a Microsoft Group or Microsoft Team

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...

Replace an owner in a Microsoft 365 Group or Microsoft Team

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 reset my forked GitHub repository?

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...

Create a new Microsoft Teams team and bulk add members from CSV file

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...

List all Microsoft Teams team's Owners and Members

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 delete all my Microsoft 365 Groups and SharePoint Online sites in my development environment?

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 map OneDrive with another drive?

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

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,...