How to Enable or Disable Spaces Feature in SharePoint Online?

Requirement: Enable/Disable 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 a great addition for applications like learning programs, product catalogs, Virtual tours (360° Tour), Interactive content, etc. to deliver a mixed reality experience to users.

Activate Spaces Feature in SharePoint Online:

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

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

Now, navigate back 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://crescentintranet-admin.sharepoint.com"
$SiteURL = "https://crescentintranet.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://crescentintranet-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 it 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 is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply