Skip to content

A16 ‐ Start M365 as‐a‐code configuration ‐ M365‐CLI

dcasota edited this page Aug 16, 2024 · 1 revision

CLI for Microsoft 365 helps you manage your Microsoft 365 tenant and SharePoint Framework projects. See

Prerequisites on Microsoft Windows

  • Powershell 7
  • NodeJS
    Open a Powershell 7 console.
    Run the following command.
    winget install OpenJS.NODEJS.LTS
    

Installation

Re-Open a Powershell 7 console.
Run the following command.

npm install -g @pnp/cli-microsoft365

Overview commands

image

Clone this wiki locally