β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 can exclude the site from policy in order to be able to change the URL and may be re-enable post the change.
- You cannot change the URL of a HUB site. You can temporarily unregister the Hub and register again.
- 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.
- SharePoint error - An exception occurred when trying to issue security token: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms..
- PowerShell iterate and get all SharePoint sites and sub sites
- SharePoint Online: Editing session has ended Message
- How to Share Microsoft SharePoint Site with Users or Groups
- How to delete SharePoint Online List Item using REST API
- SharePoint List excel import - This table exceeds the maximum number of supported rows
- How to disable SharePoint subsite creation option for owners
- SharePoint 2010 August 2015 Update KB3055049 - Duplicate Document ID issue bug fixed
- SharePoint Server 2016 Preview installation error - This Product Key isn't a valid Microsoft Office 2016 Product Key. Check that you've entered it correctly.
- How to upload file programmatically to SharePoint Document Library using Server Object Model C# .Net
- Access URL for SharePoint Tenant Admin Center (Online Office 365)
- Error when deleting SharePoint Online folder or file
- How to extend retiring SharePoint 2010 Workflows and continue with Office 365
- How to generate client id and secret to register SharePoint App with OAuth
- How to delete SharePoint List Item programmatically using C#.Net
- How to retrieve all SharePoint Online List Items using Rest API
- [Solved] SharePoint Search Internal server error exception
- Create SharePoint Site Collection using PowerShell New-SPSite
- Fix SharePoint PowerShell error - The term Get-SPweb is not recognized as the name of a cmdlet function script file or operable program
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- SharePoint Server 2016 installation System Hardware requirements
- How to create SharePoint Online List Item using REST API
- Changed AD user display name showing old name in SharePoint
- Recommended size and resolution for SharePoint Online Site logo
- Microsoft 365: How to Turn Off Delve in SharePoint Online for All Users
- How to create alias in macOS - MacOS
- Sharepoint Server 2016 installation Prerequisites with download links - SharePoint
- Multiple ways to Convert tabs with spaces in Notepad++ - NotepadPlusPlus
- How to Auto Fill Down in Excel for Mac - MacOS
- Save webpage as pdf in Google Chrome for Mac OS X - Mac-OS-X
- Nano Undo/Redo Keyboard Shortcuts - Linux
- How to Save Jupyter Notebook as PDF - Python
- Mac: How to Open Android Studio from Terminal - MacOS