• Collaboration & Infrastructure
  • Microsoft Dynamics GP
  • Microsoft Dynamics AX
  • Microsoft Dynamics CRM
  • Negotium
  • enEnglish (English)
    • frFrançais (French)
  • Collaboration & Infrastructure
  • Microsoft Dynamics GP
  • Microsoft Dynamics AX
  • Microsoft Dynamics CRM
  • Negotium
  • enEnglish (English)
    • frFrançais (French)
Toggle panel Social icons
Collaboration & Infrastructure

Manage SharePoint Online new experience using a Powershell script

by Emmanuel Baron in Collaboration & Infrastructure
Tags: Office 365, Online, sharepoint

Business Context

One of our customers recently asked us to disable SharePoint’s new experience for his Office 365, but only for a given set of sites. By default, this new experience is activated for the entire site collection.

Key Information

  • Did you know that the activation and disabling process of the new experience can be done directly from the SharePoint Admin Center? See Figure 1 below. Changing this setting from the Admin Center affects however every lists and libraries from all site collections.

SharePoint

 Fig. 1: Screenshot of the New Experience activation/disabling option in the SharePoint Online  Admin Center

  • Should you wish o go back to the Classic Experience for the entire site collection, it can also be done by clicking on the option ”Return to classic SharePoint”. See Figure 2 below.

SharePoint

Fig. 2: Option to return to the Classic Experience

  • You would like to apply your options to only a subset of your sites? No problem. This action can be done on a more granular level by managing it at the lists/librairies level. (See Figure 3)
    1. Go to the document Library, then to the list setup option
    2. Click on the link “Advanced Settings”
    3. Under the section “List experience”, choose the desired option among the offered choices:

SharePoint

Fig. 3: Setting up of a new experience at the list/library level.

  • New Experience before/after view of the library
BeforeAfter
SharePointSharePoint

 

Disabling at the site collection level

Prerequisites

  • Be Administrator of the Office 365 tenant
  • Have installed SharePoint Online Management Shell

Option 1

  1. Open a Powershell console (SharePoint Online Management Shell)
  2. Paste the following code. The script below will enable you to disable the new experience for the site collection https://[tenant].sharepoint.com/sites/siteurl

SharePoint

Option 2

There is also another way you can disable the new experience with Powershell. Just follow the instructions here provided by Microsoft: https://support.office.com/en-us/article/Switch-the-default-experience-for-lists-or-document-libraries-from-new-or-classic-66dac24b-4177-4775-bf50-3d267318caa9?ui=en-US&rs=en-US&ad=US

Disabling of the new experience

SharePoint

NOTE:

If you have previously apply:

  • the classic experience at the list/data library level, or
  • the new experience at the administration console level of SharePoint online; and
  • if you launch the script to activate the new experience, the new experience will not be reactivated for this list/library. You will need to activate the new experience again at the list/ library settings level.

Going back to the SharePoint Standard view

Every time you click on the option Return to SharePoint Standard view yo go back to the classic experience, a cookie will be generated to safeguard this information: splnu

To quickly return to the new experience, simply delete the cookie!

SharePoint

Useful Links

  • http://sharepoint.stackexchange.com/questions/200212/disable-modern-experience-for-a-site-collection
  • https://msdn.microsoft.com/en-us/pnp_articles/modern-experience-customizations-customize-lists-and-libraries
  • https://support.office.com/en-us/article/Switch-the-default-experience-for-lists-or-document-libraries-from-new-or-classic-66dac24b-4177-4775-bf50-3d267318caa9?ui=en-US&rs=en-US&ad=US
Emmanuel BaronPost author

1 Comment on “Manage SharePoint Online new experience using a Powershell script”

  1. Marc August 25, 2017 at 11:05 am

    Bonjour,

    Avez-vous essayé ce code récemment? Aucun des deux exemples ne fonctionne pour moi..

    Reply

Click here to cancel reply.

Leave a Reply Cancel reply

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

XHTML: You can use these tags <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Recent posts

  • Inmind logo
    Press release

  • Management Reporter
    Financial Reporting: 10 Tips for the Pros

  • Microsoft Dynamics GP 2018
    Microsoft Dynamics GP 2018 is here!

  • Confused about Microsoft Dynamics AX?

  • Why you should subscribe to our Managed Services program?

Tags

Ax7 CSP Disaster Recovery Dynamics GP eCommerce GP 2016 GP launch Managed services Management Reporter MCT Regional Lead Summit 2016 oceanik Online Portal Powell 365 PowerBI sharepoint sharepoint 2013 translation

Archives

  • March 2018
  • January 2018
  • November 2017
  • August 2017
  • May 2017
  • March 2017
  • February 2017
  • November 2016
  • September 2016
  • July 2016
  • April 2016
  • March 2016
  • February 2016
  • February 2015
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013

Latest Tweets

Sorry, that page does not exist.

RSS Negotium Website

  • Press release March 28, 2018
    Negotium : A New Name to Mark a New Era Montréal, March 27, 2018 – With the goal of propelling businesses forward by providing them with intelligent business solutions that truly respond to the need and issues of today and tomorrow, Negotium adopts a new visual identity that perfectly reflects that mission. Negotium is therefore becoming […]
  • Negotium at the Classique de golf 2017 September 6, 2017
    Last Friday, August 25, Negotium’s own François Léger, Chantal Poisson and Stéphan Labbé along with Lisa Léger happily participated to the Classique de golf 2017 held at Golf & Académie LongChamp. More than 150 people were reunited to help raise philanthropic funds for the Fondation de La Fontaine and Centre de soutien de l’Estrie. This year, more […]
  • Contact us
  • Negotium website
  • Negotium

Copyright Negotium Technologies Inc.