Skip to content

Add new parameters to Set-PnPTenant and update documentation for tenant settings - #5491

Merged
gautamdsheth merged 2 commits into
devfrom
feat/spo-tenant-params
Oct 10, 2026
Merged

gautamdsheth merged 2 commits into
devfrom
feat/spo-tenant-params

Conversation

@gautamdsheth

Copy link
Copy Markdown
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes NA

What is in this Pull Request ?

Adding additional features to set-pnptenant cmdlet

Copilot AI balanced review requested due to automatic review settings October 10, 2026 20:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Conflicting parameters can override explicit settings, and several bounded settings lack validation.

4 open findings
What changed in this PR

Expands Set-PnPTenant with additional SharePoint tenant settings and exposes corresponding values through Get-PnPTenant.

Changes:

  • Adds 37 tenant-setting parameters and a workflow alias.
  • Extends the tenant output model and CSOM mappings.
  • Updates cmdlet documentation and release notes.
File Description
src/​Commands/​Model/​SPOTenant.cs Exposes additional tenant properties.
src/​Commands/​Admin/​SetTenant.cs Implements the new parameters and settings.
documentation/​Set-PnPTenant.md Documents the expanded command surface.
CHANGELOG.md Adds a release-note entry.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/Commands/Admin/SetTenant.cs
Comment thread src/Commands/Admin/SetTenant.cs
Comment thread src/Commands/Admin/SetTenant.cs
Comment thread CHANGELOG.md Outdated
@gautamdsheth
gautamdsheth merged commit 773f4ca into dev Oct 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants