How to change site collection URL in SharePoint Online + PowerShell

In this blog, we will discuss how to change site collection URL in SharePoint Online from the SharePoint Online admin center. Also, we will see how to change a SharePoint Online site collection URL using PowerShell.

Change site collection URL in SharePoint Online

Now, we will see how to change a SharePoint Online site collection URL from the SharePoint Online admin center.

Make sure you have permission to the SharePoint Online admin site.

Step 1: Log in to the SharePoint Online site and go to your Admin center. Make sure you are in the Active Sites section.

change site collection URL in SharePoint Online
SharePoint Online active sites

Step 2: Next click on the site name and go to General -> URL section and click on Edit.

change SharePoint Online site collection URL
Change SharePoint Online site URL

Step 3: Next change the SharePoint site URL in the Site address like below:.

change SharePoint Online site collection URL using PowerShell
Change SharePoint Online Site Collection URL

Step 4: Next it will take maximum of 10 minutes to update the SharePoint Online site and till that time it will show you updating.

how to change SharePoint Online site collection URL

Step 5: Next check the URL, it will show you the new site URL .

Change SharePoint Online site addresses using PowerShell
change sharepoint online site collection url

This is how we can change the SharePoint Online site URL from the browser from SharePoint Online admin center.

Change SharePoint Online site addresses using PowerShell

Now, we will see how to change SharePoint Online site addresses using PowerShell. Here we will see the SharePoint Online Management Shell.

Run the following command to verify that the site address can be changed:

Start-SPOSiteRename -Identity <SiteURL> -NewSiteUrl <NewSiteURl> -ValidationOnly

Run the following command to change the site address:

Start-SPOSiteRename -Identity <SiteURL> -NewSiteUrl <NewSiteURl>

This is how we can change SharePoint online site collection URL from the SharePoint admin center as well as by using PowerShell.

You may like following PowerShell tutorials:

In this tutorial, we learned how to change site collection URL in SharePoint Online from SharePoint Online admin center and how to change site collection URL in SharePoint Online using PowerShell.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>