In PnP Script Sample repo, many scenarios lack any CLI for Microsoft 365 example, and others rely on an old version of CLI for Microsoft 365. We want to close those gaps so contributors have a current, high-quality CLI for Microsoft 365 guidance alongside existing PowerShell samples.
Goal
- For most script samples that currently only provide a PnP PowerShell version, add a corresponding CLI for Microsoft 365 implementation.spo-remove-orphaned-redirect-sites
- Review existing CLI for Microsoft 365 script samples that still reference versions older than v10.x, updating them to the latest release while improving code quality where needed.
Tasks for refreshing older CLI samples
CLI v3.x
CLI v4.x
CLI v5.x
CLI v6.x
CLI v7.x
CLI v9.x
Tasks for new scripts
Entra ID
Power Automate (Flow)
Microsoft Teams
OneDrive
SharePoint Online (General)
SharePoint Online (SPO-prefixed)
In PnP Script Sample repo, many scenarios lack any CLI for Microsoft 365 example, and others rely on an old version of CLI for Microsoft 365. We want to close those gaps so contributors have a current, high-quality CLI for Microsoft 365 guidance alongside existing PowerShell samples.
Goal
Tasks for refreshing older CLI samples
CLI v3.x
CLI v4.x
CLI v5.x
stageinsite recyclebinitem listwhich does not exist, should use--secondaryflagCLI v6.x
CLI v7.x
entra m365group removedoes not work cli-microsoft365#7054)CLI v9.x
Tasks for new scripts
Entra ID
Power Automate (Flow)
Microsoft Teams
OneDrive
SharePoint Online (General)
SharePoint Online (SPO-prefixed)