Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 3.48 KB

File metadata and controls

53 lines (41 loc) · 3.48 KB
title SharePoint site design - CLI for Microsoft 365 commands
description Use the CLI for Microsoft 365 to create, retrieve, and remove site designs and site scripts.
ms.date 06/27/2024
ms.localizationpriority high

SharePoint site design: CLI for Microsoft 365 commands

Use the CLI for Microsoft 365 to create, retrieve, update, and remove site designs and site scripts to new and existing modern site collections from any platform.

[!INCLUDE pnp-o365cli]

Getting started

To run the CLI for Microsoft 365 commands, you'll need to do the following:

  1. Download and install NodeJS LTS version
  2. Follow the instructions at Installing the CLI to install the CLI for Microsoft 365 on your machine
  3. Follow the instructions at Logging in to Office 365 to connect to your SharePoint tenant.

To verify your setup and connection, try using the sitedesign list command to read the current list of site designs. If the cmdlet runs and returns with no errors, you're ready to proceed.

Site design commands

The following commands are available for managing site designs and site scripts from the CLI for Microsoft 365:

See also