You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
Error when trying to create new Geo site using New-PnPSite
Expected behavior
New team site created in the correct GEO location
Actual behavior
New-PnPSite : {"error":{"code":"-2146232832, Microsoft.SharePoint.SPException","message":"The user cannot create group
sites in this tenant instance."}}
Steps to reproduce behavior
Connect-PnPOnline -Url "https://XXXnam.sharepoint.com" -Credentials $cred;
New-PnPSite -Type TeamSite -Title "Save to Delete" -Alias "XXXSV009" -Wait -PreferredDataLocation NAM;
-or-
Connect-PnPOnline -Url "https://XXXdefault.sharepoint.com" -Credentials $cred;
New-PnPSite -Type TeamSite -Title "Save to Delete" -Alias "XXXSV009" -Wait -PreferredDataLocation NAM;
The second one builds in "https://XXXdefault.sharepoint.com" not the GEO site
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
PnP PowerShell for SharePoint Online
What is the version of the Cmdlet module you are running?
3.28.2012.0
How did you install the PnP-PowerShell Cmdlets?
MSI Installed downloaded from GitHub
Installed through the PowerShell Gallery with Install-Module
Other means
The text was updated successfully, but these errors were encountered:
Reporting an Issue or Missing Feature
Error when trying to create new Geo site using New-PnPSite
Expected behavior
New team site created in the correct GEO location
Actual behavior
New-PnPSite : {"error":{"code":"-2146232832, Microsoft.SharePoint.SPException","message":"The user cannot create group
sites in this tenant instance."}}
Steps to reproduce behavior
Connect-PnPOnline -Url "https://XXXnam.sharepoint.com" -Credentials $cred;
New-PnPSite -Type TeamSite -Title "Save to Delete" -Alias "XXXSV009" -Wait -PreferredDataLocation NAM;
-or-
Connect-PnPOnline -Url "https://XXXdefault.sharepoint.com" -Credentials $cred;
New-PnPSite -Type TeamSite -Title "Save to Delete" -Alias "XXXSV009" -Wait -PreferredDataLocation NAM;
The second one builds in "https://XXXdefault.sharepoint.com" not the GEO site
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.28.2012.0
How did you install the PnP-PowerShell Cmdlets?
The text was updated successfully, but these errors were encountered: