This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Description
###Notice: many issues / bugs reported are actually related to the PnP Core Library which is used behind the scenes. Consider carefully where to report an issue:###
- Are you using
Apply-SPOProvisioningTemplate or Get-SPOProvisioningTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/officedev/PnP-Sites-Core/issues.
- Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
- If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/OfficeDev/PnP-PowerShell/tree/master/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/officedev/PnP-Sites-Core/issues
Reporting an Issue or Missing Feature
Missing feature which is the Issue
Expected behavior
New-PnPSite command does not allow creating TeamSites in MultiGeo tenants, for geos that are not the default one. A parameter to set PreferredDataLocation is needed, so that TeamSites can be created on other geos
Actual behavior
New-PnPSite command does not allow creating TeamSites in MultiGeo tenants, for geos that are not the default one.
Steps to reproduce behavior
Run the below command in Multi - Geo tenant which is not the default one.
$teamSiteUrl = New-PnPSite -Type TeamSite -Title "Site Title" -Alias "Site Url/Group Name"
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name *pnppowershell* -ListAvailable)
How did you install the PnP-PowerShell Cmdlets?