Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

[BUG] "The user cannot create group sites in this tenant instance." #3035

Closed
2 of 7 tasks
svermaak opened this issue Dec 19, 2020 · 3 comments
Closed
2 of 7 tasks

[BUG] "The user cannot create group sites in this tenant instance." #3035

svermaak opened this issue Dec 19, 2020 · 3 comments
Assignees
Labels

Comments

@svermaak
Copy link

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."}}
image

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
@svermaak
Copy link
Author

any ideas?

@svermaak
Copy link
Author

svermaak commented Jan 2, 2021

also, I have checked that all consents are given

@svermaak
Copy link
Author

Issue was account must have the same PDL as the site if done via CSOM. Doing it via portal doesn't have this requirement

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants