How to remove all sites bar and change the domain name in SharePoint modern site

Copper Contributor

Hi, hope all are doing well.
My requirements is to,
 1. Remove the bar that is located at left side of the SharePoint page

bhavaM_0-1691469371551.png

2. I need to Change the domain name of the site url. If I change the domain name of a particular site then it will affect all other site's domain name.


  

2 Replies

@bhavaM  I beleive from March 31, 2022 no longer we can hide app bar . You can find more details over here.
https://learn.microsoft.com/en-us/viva/connections/sharepoint-app-bar

In order to change domain you have to use power shell. Before you change you have to check the domain is aviable or not via admin center or Azure AD portal. If aviable please reserve it and then use powershell to update domain.

Add new domainhttps://aka.ms/SPORenameAddDomain

Update domain in sharepoint:

Connect tenant : Connect-SPOService -Url "https://yourtenant-admin.sharepoint.com"

UpdateStart-SPOTenantRename -DomainName <DomainName> -ScheduledDateTime <YYYY-MM-DDTHH:MM:SS>

Article : https://learn.microsoft.com/en-us/sharepoint/change-your-sharepoint-domain-name

Regards
Koti

@bhavaM Left side navigation bar on SharePoint sites is called as SharePoint app bar. Unfortunately, you cannot hide SharePoint app bar since March 31, 2023. Check the detailed information at: Introducing a SharePoint app bar that features global navigation 

 

You maybe be able to hide it using SPFx application customizer and custom CSS/JS injection. Check: How can I include the same JS and CSS files on multiple SharePoint Modern Page?. However such DOM manipulations are not supported by Microsoft and may break in future.

 

If you are trying to change the links in SharePoint app bar global navigation, check: Enable and Customize Global navigation in the SharePoint app bar 

 

Note: You cannot change the tenant domain only for specific SharePoint sites. If you change the tenant domain name, it will be changed for all SharePoint sites: Change your SharePoint domain name 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.