Skip to content
All articlesSharePoint

SharePoint View in File Explorer: Enable It in Edge, Fix Errors

How to turn on View in File Explorer for SharePoint in Microsoft Edge with the Edge policy and Set-SPOTenant, where the command is, and how to fix its errors.

26 Nov 202610 min read
SharePoint View in File Explorer: Enable It in Edge, Fix Errors

How to get View in File Explorer in SharePoint

View in File Explorer, the command that used to be called Open with Explorer, is hidden by default in modern SharePoint libraries. To get it in Microsoft Edge, an administrator sets two things: the Edge policy ConfigureViewInFileExplorer on the computers, and Set-SPOTenant -ViewInFileExplorerEnabled $True on the tenant. The command then appears in the library's view menu.

Microsoft documents the feature and steers people away from it in the same article: "In June 2022, we stopped supporting Internet Explorer 11 (IE 11) at Microsoft 365 apps and services. As a result, we no longer recommend View in File Explorer and encourage using the OneDrive sync client." If you only need SharePoint files in File Explorer, the Sync button in the library does that with no policy at all. Use this page when you specifically need the old Explorer view back.

PartWhere it is setWhat happens without it
Edge policy ConfigureViewInFileExplorerEach computer, by Group Policy or IntuneSelecting the command gives a blank screen
Tenant setting ViewInFileExplorerEnabledSharePoint Online Management ShellThe command does not appear in the library
Persistent sign-inThe user, at sign-inThe Explorer window cannot authenticate

Requirements

  • Microsoft Edge build 93 or later. Microsoft: "Starting in Microsoft Edge Stable version 93, you can enable the View in File Explorer capability on SharePoint for modern document libraries." The policy is supported on Windows only.
  • A managed Windows computer. The policy "is available only on Windows instances that are joined to a Microsoft Active Directory domain, or Windows 10 Pro or Enterprise instances enrolled for device management."
  • A persistent sign-in. "View in File Explorer requires persistent cookies to operate correctly; when you sign in, select Yes when the Stay signed in? prompt appears."
  • SharePoint Online Management Shell version 16.0.21610.12000 or higher, for the tenant setting.

The command does not work in Google Chrome or Mozilla Firefox, or on a Mac.

Step 1: Set the Edge policy

The policy allows links with the viewinfileexplorer: scheme to open WebDAV addresses in Windows File Explorer, for the SharePoint domains you list, using the cookies you name.

SettingValue
Group Policy nameConfigure the View in File Explorer feature for SharePoint pages in Microsoft Edge
Group Policy pathAdministrative Templates/Microsoft Edge
ADMX fileMSEdge.admx
Registry pathSOFTWARE\Policies\Microsoft\Edge
Registry value nameConfigureViewInFileExplorer (REG_SZ)

The value is a short piece of JSON naming your SharePoint domain and the two authentication cookies:

[{"cookies": ["rtFa", "FedAuth"], "domain": "contoso.sharepoint.com"}]

Replace contoso with your tenant name. Microsoft's guidance is to "update the domain to your tenant domain or use sharepoint.com if you plan on visiting multiple SharePoint tenants."

With Group Policy:

  1. Download the Microsoft Edge administrative template that matches your operating system version. Without it the policy is not listed.
  2. Right-click Administrative Templates in the Computer Configuration or User Configuration node, select Add/Remove Templates and browse to the downloaded template.
  3. Enable the policy and enter the value.
  4. Refresh the client's policy. From a Command Prompt, enter GPUpdate.exe /force.

With Intune, configure it as a Microsoft Edge policy setting in the same way as other Edge policies.

To check that the computer has the policy, open Microsoft Edge and go to edge://policy. You may need to close and reopen Edge before it is listed.

Step 2: Turn on the tenant setting

A tenant administrator shows the menu option from the SharePoint Online Management Shell:

Connect-SPOService -Url https://contoso-admin.sharepoint.com
Set-SPOTenant -ViewInFileExplorerEnabled $True

Connect-SPOService covers the sign-in. Microsoft says "it may take up to 15 minutes" for the command to appear in SharePoint.

Step 3: Use the command

  1. Sign in to SharePoint in Microsoft Edge and select Yes at the Stay signed in? prompt.
  2. Open the document library.
  3. Select the library view menu on the right-hand side.
  4. Select View in File Explorer.

The library opens in a Windows File Explorer window.

Fix View in File Explorer problems

The command is missing, or selecting it does nothing

What you seeCauseFix
No View in File Explorer in the view menuThe tenant setting is off. Microsoft: "If you don't enable ViewInFileExplorerEnabled via Set-SPOTenant, the View in File Explorer button won't appear"Run the command in Step 2 and wait up to 15 minutes
No command, in Chrome, Firefox or on a MacThe command works only in Microsoft Edge on WindowsUse Edge on Windows, or use Sync
A blank screen after selecting the commandThe tenant setting is on and the Edge policy is missingSet the policy in Step 1, then check edge://policy
"This policy is blocked - its value will be ignored" in edge://policyThe policy was applied to a computer that is not domain joinedUse a domain-joined or managed computer
"The requested operation is part of an experimental feature that is not supported in the current environment"The functionality is not supported in your environmentUse Sync

The error messages

Microsoft's troubleshooting article lists four messages:

  • "Your client does not support opening this list with Windows Explorer."
  • "We're having a problem opening this location in File Explorer. Add this web site to your Trusted Sites list and try again."
  • "We're having a problem opening this location in File Explorer. To open with File Explorer, you'll need to add this site to your Trusted Sites list and select the "Keep me signed in" check box when you sign in to the SharePoint Online site."
  • "We're having trouble opening this library in File Explorer. Syncing this library will give you a better experience."

They share three fixes. Work through them in order.

1. Sign in so the session persists. Sign out of Microsoft 365, close all browser windows, then sign in again and choose to stay signed in. Without a persistent cookie the Explorer window has no session to use.

An administrator can make this automatic with the UsePersistentCookiesForExplorerView parameter of Set-SPOTenant, which "lets SharePoint issue a special cookie" that works even when the user did not choose to stay signed in. Microsoft marks it as important that "this method should be used only on a private computer."

2. Add the SharePoint addresses to Trusted sites. In Windows, open Internet options, select the Security tab, select Trusted sites, then Sites, and add each address. Microsoft is specific that you need two addresses for each location:

ForAdd both of these
A SharePoint sitehttps://contoso.sharepoint.com and https://contoso-files.sharepoint.com
A OneDrive libraryhttps://contoso-my.sharepoint.com and https://contoso-myfiles.sharepoint.com

3. Check the WebClient service. View in File Explorer uses WebDAV, which depends on the Windows WebClient service.

  1. Make sure the latest Windows updates are applied.
  2. Select Start, enter services.msc, and press Enter.
  3. Find WebClient and check that its status is running.
  4. If it is not, double-click it and select Start. If the Startup type is Disabled, change it to Manual or Automatic first, select Apply, then Start.

On Windows Server, if the WebClient service is not present, install the Desktop Experience first.

Why Microsoft recommends Sync

Microsoft's troubleshooting article says: "The Open with Explorer command is slower and less reliable than syncing SharePoint files with the new OneDrive sync client." Sync also gives you Files On-Demand, which "allows you to access all your files in SharePoint without using up local storage space."

View in File ExplorerSync
SetupAn Edge policy on every computer and a tenant settingThe Sync button in the library
BrowserMicrosoft Edge on WindowsNot tied to a browser
Local disk spaceA live WebDAV connection to the libraryFiles On-Demand shows every file without using up local storage space
Microsoft's positionNo longer recommendedRecommended

Mapping a network drive to a library uses the same WebDAV technology, and Microsoft describes it in the same words: "slower and less reliable than syncing". For getting copies of files out of a library, see how to download files and folders from SharePoint.

Frequently asked questions

Where is View in File Explorer in SharePoint?

In a modern document library, open the view menu on the right-hand side of the command bar and select View in File Explorer. It is there only in Microsoft Edge on Windows, and only after an administrator has enabled the Edge policy and the tenant setting.

Why is View in File Explorer missing in SharePoint?

It is hidden by default. Microsoft states that "the View in File Explorer menu option won't be visible" until a tenant administrator runs Set-SPOTenant -ViewInFileExplorerEnabled $True. It is also unavailable in Chrome, Firefox and on a Mac.

Does View in File Explorer work in Microsoft Edge?

Yes, from Edge version 93, on Windows computers that are domain joined or enrolled for device management, once the ConfigureViewInFileExplorer policy is set.

Is Open with Explorer the same as View in File Explorer?

Yes. Open with Explorer is the older name for the same command, from the classic library ribbon and Internet Explorer. Microsoft's troubleshooting article uses both names.

Why do I get "Add this web site to your Trusted Sites list and try again"?

The SharePoint address is not in the Windows Trusted sites zone. Add both https://<tenant>.sharepoint.com and https://<tenant>-files.sharepoint.com, sign in again and stay signed in.

Is View in File Explorer still supported?

It still works in Microsoft Edge, but Microsoft says it no longer recommends it and encourages using the OneDrive sync client instead.

What does the WebClient service have to do with SharePoint?

View in File Explorer and mapped network drives connect to SharePoint over WebDAV, and Windows handles WebDAV through the WebClient service. If the service is stopped or disabled, the Explorer window cannot open.

About the author
Mark Smith - Co-Founder, SmiKar Software

Mark Smith co-founded SmiKar Software in 2015 and has spent the past decade helping organisations solve Microsoft 365 data management challenges. He works with the SmiKar team to build solutions for SharePoint archiving, storage optimisation, governance and compliance, supporting customers from growing businesses through to Fortune 500 enterprises.

More about SmiKar

Ready when you are

Cut your Microsoft 365 storage bill - keep your data in your tenant.