PnP-PowerShell icon indicating copy to clipboard operation
PnP-PowerShell copied to clipboard

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

Open svermaak opened this issue 5 years ago • 0 comments

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?

  • [ ] PnP PowerShell for SharePoint 2013
  • [ ] PnP PowerShell for SharePoint 2016
  • [ ] PnP PowerShell for SharePoint 2019
  • [X] PnP PowerShell for SharePoint Online

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

3.26.2010.0

How did you install the PnP-PowerShell Cmdlets?

  • [ ] MSI Installed downloaded from GitHub
  • [ X] Installed through the PowerShell Gallery with Install-Module
  • [ ] Other means

svermaak avatar Nov 16 '20 06:11 svermaak