View files with File Explorer in Edge - error with PowerShell and ViewInFileExplorerEnabled

%3CLINGO-SUB%20id%3D%22lingo-sub-2810966%22%20slang%3D%22en-US%22%3EView%20files%20with%20File%20Explorer%20in%20Edge%20-%20error%20with%20PowerShell%20and%20ViewInFileExplorerEnabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2810966%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20follow%20the%20documentation%20on%20SharePoint%20View%20in%20Microsoft%20Edge%20in%20SharePoint%20Online%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FSharePoint%2Fsharepoint-view-in-edge%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FSharePoint%2Fsharepoint-view-in-edge%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20on%20PowerShell%20SharePoint%20Online%20version%3C%2FP%3E%3CP%3E16.0.21714.12000%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22spo-version.png%22%20style%3D%22width%3A%20475px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315112i4ED75FAE82FF9CF3%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22spo-version.png%22%20alt%3D%22spo-version.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20run%20as%20admin%20and%20log%20on%20and%20then%20try%20to%20run%26nbsp%3BViewInFileExplorerEnabled%20and%20get%20an%20error%3A%3C%2FP%3E%3CP%3EA%20parameter%20cannot%20be%20found%20that%20matches%20parameter%20name%20'ViewInFileExplorerEnabled'.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20what%20I%20run%20as%20local%20admin%20on%20Windows%2010%20system%20in%20PowerShell%20SPO%26nbsp%3B%3C%2FP%3E%3CP%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Connect-SPOService%20-Url%20%3CA%20href%3D%22https%3A%2F%2Ftenantname-admin.sharepoint.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftenantname-admin.sharepoint.com%3C%2FA%3E%3CBR%20%2F%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Set-SPOTenant%20-ViewInFileExplorerEnabled%20%24True%3CBR%20%2F%3ESet-SPOTenant%20%3A%20A%20parameter%20cannot%20be%20found%20that%20matches%20parameter%20name%20'ViewInFileExplorerEnabled'.%3CBR%20%2F%3EAt%20line%3A1%20char%3A15%3CBR%20%2F%3E%2B%20Set-SPOTenant%20-ViewInFileExplorerEnabled%20%24True%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20InvalidArgument%3A%20(%3A)%20%5BSet-SPOTenant%5D%2C%20ParameterBindingException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20NamedParameterNotFound%2CMicrosoft.Online.SharePoint.PowerShell.SetTenant%3C%2FP%3E%3CP%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Set-SPOTenant%20-UsePersistentCookiesForExplorerView%20%24true%3CBR%20%2F%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20know%20how%20to%20get%20the%20command%20to%20work%20for%20view%20in%20file%20explorer%3C%2FP%3E%3CP%3ESet-SPOTenant%20-ViewInFileExplorerEnabled%20%24True%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMatt%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2810966%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2812856%22%20slang%3D%22en-US%22%3ERe%3A%20View%20files%20with%20File%20Explorer%20in%20Edge%20-%20error%20with%20PowerShell%20and%20ViewInFileExplorerEnabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2812856%22%20slang%3D%22en-US%22%3EHello%3CBR%20%2F%3E%3CBR%20%2F%3EBe%20sure%20to%20have%20only%20one%20version%20of%20the%20SharePoint%20module%3CBR%20%2F%3E%3CBR%20%2F%3EGet-Module%20-ListAvailable%20Microsoft.Online.SharePoint.PowerShell%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20my%20case%20it%20says%20it%20is%20still%20an%20experimental%20feature%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%22Set-SPOTenant%20%3A%20The%20requested%20operation%20is%20part%20of%20an%20experimental%20feature%20that%20is%20not%20supported%20in%20the%20current%20environment.%22%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2813541%22%20slang%3D%22en-US%22%3ERe%3A%20View%20files%20with%20File%20Explorer%20in%20Edge%20-%20error%20with%20PowerShell%20and%20ViewInFileExplorerEnabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2813541%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F20390%22%20target%3D%22_blank%22%3E%40Andres%20Gorzelany%3C%2FA%3E%26nbsp%3Bas%20below%2C%20there%20is%20NO%20true%20or%20false.%26nbsp%3B%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222021-10-05_10-59-54.png%22%20style%3D%22width%3A%20988px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315313i8199CBFA08CB5673%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222021-10-05_10-59-54.png%22%20alt%3D%222021-10-05_10-59-54.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIn%20the%20graphic%20above%2C%20you'll%20note%20that%20no%20where%20is%20there%20any%20experiment%2C%20does%20that%20mean%20that%20it%20is%20not%20available%20in%20my%20tenant%3F%26nbsp%3B%20The%20area%20when%20I%20searched%20for%20the%20viewinfileexplorer%20it%20says%20%22nothing%22%20no%20false%20or%20true.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EConnect-SPOService%20%3CA%20href%3D%22https%3A%2F%2Ftenantnamehere-admin.sharepoint.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftenantnamehere-admin.sharepoint.com%3C%2FA%3E%3CBR%20%2F%3ESet-SPOTenant%20-ViewInFileExplorerEnabled%3A%24true%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%5BRight%20HERE%20SHOULD%20be%20False%20or%20True%5D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%26gt%3B-%20Administrator%20SharePoint%20Online%20Management%20Shell%3CBR%20%2F%3ESet-SPOTenant%20-ViewInFileExplorerEnabled%20%24true%3CBR%20%2F%3E%2B%20Categorylnfo%20%3A%20InvalidArgument%3A%20(%3A)%20%5BSet-SPOTenant%5D%2C%20ParameterBindingException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorld%20%3A%20NamedParameterNotFound%2CMicrosoft.Online.SharePoint.PowerShell.SetTenant%3CBR%20%2F%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Set-SPOTenant%20-ViewInFileExplorerEnabled%3CBR%20%2F%3ESet-SPOTenant%20%3A%20A%20parameter%20cannot%20be%20found%20that%20matches%20parameter%20name%20'ViewInFileExplorerEnabled'.%20At%20line%3Al%20char%3A15%3CBR%20%2F%3E%2B%20Set-SPOTenant%20-ViewInFileExplorerEnabled%3CBR%20%2F%3E%2B%20Categorylnfo%20%3A%20InvalidArgument%3A%20(%3A)%20%5BSet-SPOTenant%5D%2C%20ParameterBindingException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorld%20%3A%20NamedParameterNotFound%2CMicrosoft.Online.SharePoint.PowerShell.SetTenant%3CBR%20%2F%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Get-SPOTenant%20%7Cselect%20viewfileexplorerenabled%3CBR%20%2F%3Eviewfileexplorerenabled%3C%2FP%3E%3CP%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Set-SPOTenant%20-ViewInFileExplorerEnabled%20%24false_%3CBR%20%2F%3ESet-SPOTenant%20%3A%20A%20parameter%20cannot%20be%20found%20that%20matches%20parameter%20name%20'ViewInFileExplorerEnabled%E2%80%99.%20At%20line%3Al%20char%3A15%3CBR%20%2F%3E%2B%20Set-SPOTenant%20-ViewInFileExplorerEnabled%20%24false%3CBR%20%2F%3Erj%20rj%20rj%20rj%20rj%20i%5Cj%20rsj%20r*j%20r%2Frj%20r%2F1%5C%2F%20in%2F%20in%2F%20i%5Ci%20i%5Ci%20n%20m%20n%20n%20n%20r%2Fn%20n%20n%20n%3CBR%20%2F%3E%2B%20Categorylnfo%20%3A%20InvalidArgument%3A%20(%3A)%20%5BSet-SPOTenant%5D%2C%20ParameterBindingException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorld%20%3A%20NamedParameterNotFound%2CMicrosoft.Online.SharePoint.PowerShell.SetTenant%3CBR%20%2F%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%3CBR%20%2F%3E%E2%96%A1%20X%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20use%20your%20command%20to%20check%20for%20SPO%20PS%2C%20is%20this%20showing%20I%20have%20two%20or%20another%20one%3F%26nbsp%3B%20I%20can%20uninstall%20one%3F%26nbsp%3B%20In%20Apps%20in%20Win10%20it%20only%20shows%20ONE%20software%2C%20as%20my%20original%20post%20has%20a%20screenshot%20of%20it.%26nbsp%3B%20Again%2C%20I%20can%20remove%20it%20or%20delete%20one%20if%20there%20is%20a%20conflict.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222021-10-05_11-03-49.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315315iDE3862BBE6D0D4D2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222021-10-05_11-03-49.png%22%20alt%3D%222021-10-05_11-03-49.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I am trying to follow the documentation on SharePoint View in Microsoft Edge in SharePoint Online:
https://docs.microsoft.com/en-us/SharePoint/sharepoint-view-in-edge

 

I am on PowerShell SharePoint Online version

16.0.21714.12000

spo-version.png

 

I run as admin and log on and then try to run ViewInFileExplorerEnabled and get an error:

A parameter cannot be found that matches parameter name 'ViewInFileExplorerEnabled'.

 

This is what I run as local admin on Windows 10 system in PowerShell SPO 

PS C:\WINDOWS\system32> Connect-SPOService -Url https://tenantname-admin.sharepoint.com
PS C:\WINDOWS\system32> Set-SPOTenant -ViewInFileExplorerEnabled $True
Set-SPOTenant : A parameter cannot be found that matches parameter name 'ViewInFileExplorerEnabled'.
At line:1 char:15
+ Set-SPOTenant -ViewInFileExplorerEnabled $True
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-SPOTenant], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Online.SharePoint.PowerShell.SetTenant

PS C:\WINDOWS\system32> Set-SPOTenant -UsePersistentCookiesForExplorerView $true
PS C:\WINDOWS\system32>

 

I don't know how to get the command to work for view in file explorer

Set-SPOTenant -ViewInFileExplorerEnabled $True

 

Thank you.

 

Matt

4 Replies
Hello

Be sure to have only one version of the SharePoint module

Get-Module -ListAvailable Microsoft.Online.SharePoint.PowerShell

In my case it says it is still an experimental feature:

"Set-SPOTenant : The requested operation is part of an experimental feature that is not supported in the current environment."

Hello @Andres Gorzelany as below, there is NO true or false.  2021-10-05_10-59-54.png

In the graphic above, you'll note that no where is there any experiment, does that mean that it is not available in my tenant?  The area when I searched for the viewinfileexplorer it says "nothing" no false or true.

 

Connect-SPOService https://tenantnamehere-admin.sharepoint.com
Set-SPOTenant -ViewInFileExplorerEnabled:$true

 

[Right HERE SHOULD be False or True]

 


>- Administrator SharePoint Online Management Shell
Set-SPOTenant -ViewInFileExplorerEnabled $true
+ Categorylnfo : InvalidArgument: (:) [Set-SPOTenant], ParameterBindingException
+ FullyQualifiedErrorld : NamedParameterNotFound,Microsoft.Online.SharePoint.PowerShell.SetTenant
PS C:\WINDOWS\system32> Set-SPOTenant -ViewInFileExplorerEnabled
Set-SPOTenant : A parameter cannot be found that matches parameter name 'ViewInFileExplorerEnabled'. At line:l char:15
+ Set-SPOTenant -ViewInFileExplorerEnabled
+ Categorylnfo : InvalidArgument: (:) [Set-SPOTenant], ParameterBindingException
+ FullyQualifiedErrorld : NamedParameterNotFound,Microsoft.Online.SharePoint.PowerShell.SetTenant
PS C:\WINDOWS\system32> Get-SPOTenant |select viewfileexplorerenabled
viewfileexplorerenabled

PS C:\WINDOWS\system32> Set-SPOTenant -ViewInFileExplorerEnabled $false_
Set-SPOTenant : A parameter cannot be found that matches parameter name 'ViewInFileExplorerEnabled’. At line:l char:15
+ Set-SPOTenant -ViewInFileExplorerEnabled $false
rj rj rj rj rj i\j rsj r*j r/rj r/1\/ in/ in/ i\i i\i n m n n n r/n n n n
+ Categorylnfo : InvalidArgument: (:) [Set-SPOTenant], ParameterBindingException
+ FullyQualifiedErrorld : NamedParameterNotFound,Microsoft.Online.SharePoint.PowerShell.SetTenant
PS C:\WINDOWS\system32>
□ X

 

I did use your command to check for SPO PS, is this showing I have two or another one?  I can uninstall one?  In Apps in Win10 it only shows ONE software, as my original post has a screenshot of it.  Again, I can remove it or delete one if there is a conflict.

 

2021-10-05_11-03-49.png

@Matthew Carter I noticed you have a typo in the property you are querying, it is missing the "in" word:

 

AndresGorzelany_0-1633456189200.png

 

Yes, uninstall the oldest one, you can use 

 

Uninstall-Module [name_of_module] -RequiredVersion [version_to_uninstall]

 

and check if it was uninstalled before trying again.

Thank you for catching that. I did try it again and still a "blank" value. I am wondering if it is NOT in my tenant yet as we are on the regular release, so I wonder if the placeholder is there yet not the information, or PowerShell knows it, yet SharePoint Online (my tenant) does not.