Oct 04 2021 03:35 PM
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
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
Oct 05 2021 05:43 AM
Oct 05 2021 08:06 AM
Hello @Andres Gorzelany as below, there is NO true or false.
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.
Oct 05 2021 10:51 AM
@Matthew Carter I noticed you have a typo in the property you are querying, it is missing the "in" word:
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.
Oct 07 2021 04:48 PM