How to Enable or Disable Spaces Feature in SharePoint Online?

Requirement: Enable/Disable the SharePoint Spaces feature in SharePoint Online.

How to enable the “Spaces” in SharePoint Online?

SharePoint spaces is an immersive platform that lets you render 2D/3D images on modern sites and can be an excellent addition for applications like learning programs, product catalogs, Virtual tours (360° Tour), Interactive content, etc., to deliver mixed reality experience to users.

Activate Spaces Feature in SharePoint Online:

Follow these steps to activate the “Spaces” feature in SharePoint Online.

  1. Go to your SharePoint Online site >> Click on the Settings gear icon in the top-right corner of the page.
  2. Click Site information >> Click on the “View all site settings” link.
  3. Click on “Manage site features” under the “Site Administration” group.
  4. Locate the “Spaces” and click Activate (if not already activated!).how to enable spaces in sharepoint online

Now, navigate to your Home page, click on “+ New”, and you should find “Space” in the menu.

create sharepoint spaces

Activating the Spaces feature for the web can be achieved with PowerShell as well:

Enable-PnPFeature -Identity 2ac9c540-6db4-4155-892c-3273957f1926 -Scope Web

Disable Spaces Feature in SharePoint Online

Use Set-SPODisableSpacesActivation cmdlet to enable or disable SharePoint spaces. To disable the spaces feature at the site collection level, use:

#Parameters
$AdminCenterURL = "https://Crescent-admin.sharepoint.com"
$SiteURL = "https://Crescent.sharepoint.com/sites/Operations"

#Connect to SharePoint Online
Connect-SPOService -Url $AdminCenterURL

#Disable Spaces Feature at the Site Collection
Set-SPODisableSpacesActivation -Disable $True -Scope Site -Identity $SiteURL

To disable the Spaces feature at the tenant level, use:

#Parameters
$AdminCenterURL = "https://Crescent-admin.sharepoint.com"

#Connect to SharePoint Online
Connect-SPOService -Url $AdminCenterURL

#Disable Spaces Feature at the tenant
Set-SPODisableSpacesActivation -Disable $true -scope Tenant

It takes a while for the changes to take effect when you apply them at the tenant level. Similarly, to enable it back, Simply use $False flag for -Disable parameter on the above cmdlet. E.g.,

#Enable Spaces Feature at the tenant
Set-SPODisableSpacesActivation -Disable $False -scope Tenant

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

Leave a Reply

Your email address will not be published. Required fields are marked *