Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
Display a classic SharePoint site in Internet Explorer 10 document mode

Note:  Microsoft 365 apps and services will not support Internet Explorer 11 starting August 17, 2021. Learn more. Please note that Internet Explorer 11 will remain a supported browser. Internet Explorer 11 is a component of the Windows operating system and follows the Lifecycle Policy for the product on which it is installed. 

When users browse Microsoft SharePoint sites in Internet Explorer 11, the default document mode will soon be 11 (Edge mode), regardless of whether the site uses the new lists and libraries experience. We'll no longer force the legacy compatibility mode 10. This will improve the performance and reliability of most pages. However, some custom master pages or custom web parts may contain custom code that relies on the older Internet Explorer 10 document mode.

This change only applies to default, uncustomized master pages. Customized master pages will need to specify the desired document mode.

Check if a site works in Edge document mode

Follow these steps to determine if the customization on a site will work in Edge mode:

  1. Open the site in Internet Explorer 11 and press F12 to open the developer tools.

  2. Select the Emulation tab, and under Document mode, select 11.

Revert site collections to Internet Explorer 10 document mode

If you find that a site collection has a customization that doesn't work in Edge document mode, you can revert the site collection to Internet Explorer 10 document mode. To do this, you need to use a Microsoft PowerShell script with a CSOM (Client-side object model) wrapper. You must be a site collection administrator for the site collection you want to change.

For example, ActiveX is off by default in Internet Explorer 11 mode, so features that leverage these controls will require reverting your site collection to Internet Explorer 10 document mode.

  1. Download and install the latest SharePoint Management Shell and connect to SharePoint. For info, see Introduction to the SharePoint Management Shell.

  2. Review the PowerShell execution policies.

  3. Copy the following code and paste it in a text editor such as Notepad.

    ##the first two lines of the script load the CSOM model:

    $loadInfo1 = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client")

    $loadInfo2 = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime")

    $webUrl = 'https://{domain}[optional path to subweb]'

    $username = Read-Host -Prompt "Enter or paste the site collection administrator’s full O365 email, for example,"

    $password = Read-Host -Prompt "Password for $username" -AsSecureString

    [Microsoft.SharePoint.Client.ClientContext]$clientContext = New-Object Microsoft.SharePoint.Client.ClientContext($webUrl)

    $clientContext.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $password)

    #To apply script to a site collection (disable Edge) uncomment the 4 lines below:

    #$site = $clientContext.Site

    #$featureguid = new-object System.Guid "80E47777-D21C-46E0-9139-7C7741EB4B54"

    #$site.Features.Add($featureguid, $true, [Microsoft.SharePoint.Client.FeatureDefinitionScope]::None)


    #To apply script to a site collection (re-enable Edge) uncomment 4 lines below:

    ##$site = $clientContext.Site

    ##$featureguid = new-object System.Guid "80E47777-D21C-46E0-9139-7C7741EB4B54"

    ##$site.Features.Remove($featureguid, $true);


  4. Remove the code comment lines (which begin with ##) and save the file as an ANSI-encoded text file with the extension .ps1. For this example, we name the script file "IEMode.ps1."

  5. Change to the directory where you saved the file.

  6. At the PowerShell command prompt, type:


Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!