βGlobal Microsoft 365 or SharePoint Admin can change the URL for SharePoint sites within the Tenant - Modern team sites without O365/M365 group, Communication sites, Classic Team sites, Microsoft 365 group connected team sites.
This allows admins to change the SharePoint site name as well as the link from SharePoint Admin Center or using PowerShell script.
This feature comes handy in many cases - say the name of a project is changed, or you mispelled it, or say you earlier called it SCM and now want to rename to Supply Chain Management.
βοΈSteps to change URL address of SharePoint Online site
- Navigate to SharePoint Admin Center (need Global/SharePoint admin role).
- Click Sites --> Active Sites.
- Search your SharePoint site and click the site name to open details pane.
- Under General --> URL --> click 'Edit' link.
- Type the new URL, SharePoint will check if the URL address is available and display a message 'The site address is available'.
- Click Save.
- You will be prompted if you want to change the site name too 'Do you also want to enter a new site name?'. Ignore if not required.
- The process will take few minutes and display the updated site address.
In this example, we are changing site address c2c-SPSite1 to c2c-SPSite2.
βοΈ You can change the address of up to 100 sites at a time. But try doing it one at a time.
βοΈ The site will be in read-only mode during the change. For a short duration though.
βοΈ Try changing the address when site usage is low. During off hours preferably.
Steps to change the SharePoint site address using PowerShell
Make sure you run the SharePoint Online Management Shell with 'Run as Administrator'. Connect to SharePoint as a Global Admin or SharePoint Admin and run below command.Run below PowerShell command to verify that the site address can be changed
Start-SPOSiteRename -Identity [SiteURL] -NewSiteUrl [NewSiteURl] -ValidationOnly
Run below PowerShell command to change the site address
Start-SPOSiteRename -Identity [SiteURL] -NewSiteUrl [NewSiteURl]
βοΈ What happens to the old SharePoint link ?
When the site address is changed, SharePoint creates a redirect at the previous address. So you can use both the links together and they point to the same site.
If you want to reuse the previous address, you have to delete the redirect using PowerShell command.
βοΈ Effects and Impact of changing the site address ?
- Favorite/Saved/Sharing links - will be intact and work fine.
- Recycle bin β Files from the recycle bin will be lost.
- Site Permissions - No change.
- Apps - Republish the apps if you change the site's address.
- Hub sites - Reassociation required.
- Power Apps - Reconnect the app or apps to your data source.
- Power Automate - Flows need to be republished after recreating or updating with the new address.
- Sync lists/libraries/folders - Sync will work without problems.
- OneNote - Work seamlessly if it was not open during the change.
- SharePoint Designer Workflows - Need to republish.
- Audit logs - Entry about this change is captured in logs.
- Customizations and embedded code - Code need to be fixed where old URL is referenced.
βοΈ Any limitations ?
- You cannot change the Tenant/Domain Name.
- You may encounter a HTTP 500 error if you try accessing the site during the change.
- You cannot change the URL of an eDiscovery Center site. The Edit option will be disabled.
- You cannot change the URL if Office 365 Compliance/Retention policy or eDiscovery hold is applied to the site.
- You cannot change the URL of a HUB site.
- Group email address for Team sites connected to Microsoft/Office 365 Group will not be changed automatically. You will need to fix it using PowerShell script.
- You cannot change URL of sites that have BCS connections.
- If the Publishing feature is currently activated or was previously activated for the site, then changing the site address is unsupported.
For changing the URL or Name of a sub site, can navigate to the respective site --> Look and Feel --> Title, Description and Logo --> change the Title.
This will change the subsite display name as well as the URL.
- Move Copy Migrate SharePoint OneDrive files folders to different site collection location
- How to generate client id and secret to register SharePoint App with OAuth
- How to share SharePoint site or document with all users in organization
- Get-ADUser PowerShell - Get AD user details using email address
- error CAML Query containing special characters
- Access URL for SharePoint Tenant Admin Center (Online Office 365)
- Fix SharePoint Error - The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started
- SharePoint - The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
- How to delete SharePoint List Item programmatically using C#.Net
- How to Share Microsoft SharePoint Site with Users or Groups
- JSON column formatting to preview SharePoint Online file on mouse hover
- SharePoint List redirect user after submitting form NewForm.aspx
- See actual SharePoint error exception modify web.config
- SharePoint Server 2016 IT Preview Deprecated Removed features
- How to create SharePoint Document Library
- How to Get or Set SharePoint Document ID _dlc_DocId using PowerShell
- How to disable SharePoint subsite creation option for owners
- PowerShell - How to use Try Catch Finally blocks for error exception handling (Windows/SharePoint)
- SharePoint error - Your organization doesn't allow sharing with users from this domain. Please contact your IT department for help. (OSE403)
- [Solved] SharePoint Search Internal server error exception
- How to wrap column text in SharePoint Online Modern List Grid View using JSON formatting
- How to extend retiring SharePoint 2010 Workflows and continue with Office 365
- Changed AD user display name showing old name in SharePoint
- How to hide or remove quick launch left navigation from SharePoint Online Modern site page
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- PHP Base64 encoding decoding a variable - PHP
- How to install Python 3.9 using brew on Mac - Python
- Backup your Mac before you update to macOS Ventura using Time Machine - MacOS
- Android is starting optimizing... app 1 of 1 - Android
- macOS R installation steps - MacOS
- Can Microsoft SharePoint Lists be synced and accessed offline without internet? - SharePoint
- Drag drop files here option missing for SharePoint document library - SharePoint
- [Fix] Docker Run unknown shorthand flag: 'r' in -rm - Docker