Commands › SharePoint Online

Set-SPOTenantRenameSitePrioritization

SharePoint Online Microsoft.Online.SharePoint.PowerShell Set-*

Allows prioritization of a site for early execution, as part of Advanced Tenant Rename.

Quick start script

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

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-SPOTenantRenameSitePrioritization
$before | Format-List

# 3. Make the change
Set-SPOTenantRenameSitePrioritization -SiteUrl <String>

# 4. Verify and diff
$after = Get-SPOTenantRenameSitePrioritization
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Set-SPOTenantRenameSitePrioritization -SiteUrl <String> [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-SiteUrl String yes Specifies the full site URL of the site you wish to prioritize. This can be either a OneDrive for Business or SharePoint Online site. Root URLs (e.g., contoso.sharepoint.com, contoso-admin.sharepoint.com or...

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