If you don’t have a lot of disk space, or you are using a Remote Desktop server, it is not desirable to sync all files to your system. There is a way to access those files as a network share so all data stays in the cloud.

Step 1: Allow access from File Explorer
Via PowerShell you should connect to the SharePoint Admin site to enable this setting.

PS> Connect-SPOService -Url https://<your-site>-admin.sharepoint.com
PS> Set-SPOTenant -ViewInFileExplorerEnabled $True

PS> Set-SPOTenant -UsePersistentCookiesForExplorerView $true

If you receive an error that the Connect-SPOService option is not recognized as the name of a cmdlet, function, script file or operable program, you need to install those commands first with the following commands in an elevated PowerShell window:

PS> Install-Module -Name Microsoft.Online.SharePoint.PowerShell
PS> Install-Module -Name Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser
PS> Update-Module -Name Microsoft.Online.SharePoint.PowerShell

Step 2: Change cookie settings

Within Edge you should change the Cookie policy for SharePoint to allow this function to work. You can add the following registry key:

Location: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge
Type: REG_SZ (String Value)
Name: ConfigureViewInFileExplorer
Data: [{"cookies": ["rtFa", "FedAuth"], "domain": "sharepoint.com"}]

To check if the setting is applied, go to “edge://policy” to verify the setting.

Step 3: Connect

At this point you should be able to connect. Within the web browser you have an option to open the files in File Explore within the Documents section within the SharePoint site.

Or use the follow URL: \\<your-site>.sharepoint.com@SSL\DavWWWRoot\sites\<SharePoint-site>\Shared Documents

If you are trying this on a Server version, you should a feature to be able to use this function:

Install-WindowsFeature WebDAV-Redirector

After a restart, set the “WebClient” service as Automatic and start the service.

Categories:

Tags:

Comments are closed