SharePoint Online / Microsoft 365
Connection
The site (or admin URL) to connect to.
Required by PnP since Sept 2024. Register an app once (Connection operations).
1Select operation
2Provide details
3Generated PowerShell command
RequiresPnP.PowerShell module
Minimum permissionRead on the site
Built for SharePoint pros. Verified against PnP PowerShell.Save timeReduce errorsfivenumber.com
How the generator works
  1. Set your connection once. Enter your Site URL and Client ID at the top. The Client ID is your own Entra app — register it once with the Register an Entra app operation under Connection.
  2. Pick a category and operation from the sidebar or the dropdowns.
  3. Tweak the pre-filled values. Every field starts with a working contoso example so the command is copy-paste ready.
  4. Copy, export, or share. Use Copy, Copy as one line, Export .ps1, or Copy link to share the exact command by URL.
Interactive Connect-PnPOnline requires your own Entra app ClientId (a PnP change from September 2024). For SharePoint Online / Microsoft 365 — not SharePoint Server on-premises.
Everything runs in your browser. Nothing is sent to a server.