Skip to content

Add Start-PnPTenantRename cmdlet and related documentation for tenant domain renaming#5304

Merged
gautamdsheth merged 2 commits intodevfrom
feat/multi-geo1
Apr 25, 2026
Merged

Add Start-PnPTenantRename cmdlet and related documentation for tenant domain renaming#5304
gautamdsheth merged 2 commits intodevfrom
feat/multi-geo1

Conversation

@gautamdsheth
Copy link
Copy Markdown
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #5297

What is in this Pull Request ?

Add Start-PnPTenantRename cmdlet and related documentation for tenant domain renaming

… domain renaming

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings April 25, 2026 19:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new SharePoint Online admin cmdlet to schedule a tenant domain rename (cross-platform alternative to Start-SPOTenantRename), along with the supporting REST client/models, documentation, and changelog entry.

Changes:

  • Introduces Start-PnPTenantRename cmdlet to schedule a tenant rename job via SPO REST.
  • Adds REST client (MultiGeoRestApiClient) plus request/response models for tenant rename job operations.
  • Adds cmdlet documentation and a changelog entry.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/Commands/Utilities/MultiGeo/MultiGeoRestApiClient.cs New REST client for tenant rename endpoints (create job, get status, warnings, cancel) with retry + OData unwrapping.
src/Commands/Model/TenantRenameJobEntityData.cs New request payload model for creating tenant rename jobs.
src/Commands/Model/TenantRenameJob.cs New public response model representing tenant rename job status/messages.
src/Commands/Admin/StartTenantRename.cs New Start-PnPTenantRename cmdlet implementation (warnings + scheduling).
documentation/Start-PnPTenantRename.md New cmdlet documentation page with syntax, description, and examples.
CHANGELOG.md Adds nightly changelog entry for the new cmdlet.

Comment thread src/Commands/Utilities/MultiGeo/MultiGeoRestApiClient.cs
Comment thread src/Commands/Utilities/MultiGeo/MultiGeoRestApiClient.cs Outdated
Comment thread src/Commands/Admin/StartTenantRename.cs
Comment thread src/Commands/Admin/StartTenantRename.cs
Comment thread CHANGELOG.md Outdated
…eduled date validation

Co-authored-by: Copilot <copilot@github.com>
@gautamdsheth gautamdsheth merged commit 7072a93 into dev Apr 25, 2026
5 checks passed
@gautamdsheth gautamdsheth deleted the feat/multi-geo1 branch April 28, 2026 12:07
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.

[FEATURE] Support Start-SPOTenantRename

2 participants