Commands › SharePoint Online

Stop-SPOTenantRename

SharePoint Online Microsoft.Online.SharePoint.PowerShell Stop-*

> [!IMPORTANT] > This feature is currently available to organizations that have no more than 10,000 total SharePoint sites and OneDrive accounts combined. Cancels the scheduled job to change the SharePoint domain name for your organization in Microsoft 365. > [!NOTE] > If the job to change the SharePoint domain name is already in progress, then it cannot be canceled or stopped.

Quick start script

# Stop-SPOTenantRename — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Run and inspect
Stop-SPOTenantRename -Reason <String> | Format-List

# 3. Export for evidence / drift tracking
Stop-SPOTenantRename | Export-Clixml .\SPOTenantRename-$(Get-Date -Format yyyyMMdd).xml

Syntax

Stop-SPOTenantRename -Reason <String> [-Comment <String>] [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Comment String Specifies an additional comment why the job is being canceled.
-Reason String yes Specifies the reason why the job is being canceled.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.