Share via


Stop-SPOTenantRename

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.

Syntax

Default (Default)

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

Description

This command cancels a scheduled rename of the SharePoint domain name for your organization.

Examples

EXAMPLE 1

Stop-SPOTenantRename -Reason "Rescheduling"

Cancels the rename of the SharePoint domain name with the reason "Rescheduling".

Parameters

-Comment

Applicable: SharePoint Online

Specifies an additional comment why the job is being canceled.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Reason

Applicable: SharePoint Online

Specifies the reason why the job is being canceled.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object