Skip to content

v0.0.9

Choose a tag to compare

@github-actions github-actions released this 25 Oct 11:10
· 2 commits to main since this release
  • Persisted connections: --persisted-connections (or PNP_MCP_PERSISTED_CONNECTIONS) takes a JSON array of {"tenant","clientId"} (or @file). When an expression runs Connect-PnPOnline -Url for a listed tenant without -ClientId, the server adds the configured client ID and -Interactive to reuse the persisted login. Unlisted tenants behave as before.
  • Persisted connections accept an optional name, and pnpRunCmdlet takes a profile argument to select one explicitly (unknown profiles fail with [UNKNOWN_PROFILE]).
  • --strict-connections (or PNP_MCP_STRICT_CONNECTIONS=1) refuses Connect-PnPOnline -Url to a tenant that is not in the persisted connections ([TENANT_NOT_CONFIGURED]). It only has an effect together with --persisted-connections.