Vish
Vish

Reputation: 1

Set-PnPSite -LogoFilePath throws error? Which version of SharePointPnPPowerShellOnline required? Mine is 3.20.2004.0

Which version of SharePointPnPPowerShellOnline does support below command? Mine is 3.20.2004.0 and trying to update Modern teamsite in sharepoint online environment.

Set-PnPSite -LogoFilePath c:\images\mylogo.png

Set-Variable : A parameter cannot be found that matches parameter name 'LogoFilePath'. At line:1 char:13 + set pnpsite -LogoFilePath C:\Project\Images\FPASiteLogo.png + ~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Set-Variable], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SetVariableCommand

Upvotes: 0

Views: 379

Answers (1)

Jerry
Jerry

Reputation: 3615

Tested the same version PnP PowerShell which is the latest version and LogoFilePath parameter is available, please see the PowerShell snippet:

enter image description here

But the site needs to be a Moder Site:

enter image description here

enter image description here

Reference:

Set-PnPSite

Upvotes: 0

Related Questions