pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
985 stars 665 forks source link

[BUG] Cannot create site with New-PnPSite and Lcid. Cannot set LocaleId via Set-PnPSite #2999

Open svermaak opened 3 years ago

svermaak commented 3 years ago

Reporting an Issue or Missing Feature

Issue

Expected behavior

Site created with local id 3081 -OR- site update to local id 3081

Actual behavior

Please describe what you see instead. Please provide samples of HTML output or screenshots Error that site was not created. Error that "The property Lcid cannot be set after the site template is set." image image

Steps to reproduce behavior

New-PnPSite -Type TeamSite -Title "DDadad" -Alias "ASffsaf" -Lcid 3081 set-pnpsite -LocaleId 3081

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

3.26.2010.0

How did you install the PnP-PowerShell Cmdlets?