-
Notifications
You must be signed in to change notification settings - Fork 388
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Reporting an Issue or Missing Feature
Reporting and issue with New-PnPSite, the condole hangs after I run the script. They O365 group is created but the site isn't.
Expected behavior
Team site and O365 group assigned get created.
Actual behavior
O365 group is created but team site isn't.
Steps to reproduce behavior
Running PowerShell 7.1 and version 1.3.0 or pnp.powershell.
#1
#.csv with general access sites details
$sites = Import-Csv C:\Code\SPFileSystem\OpsGeneralAccess\OpsGeneralSite.csv
$Creds = Get-Credential
#2
#SharePointPnP Create sites
#Connect SharePointPnP
Register-PnPManagementShellAccess
Connect-PnPOnline -url "https://xxxxx.sharepoint.com" -Credentials $Creds
foreach ($site in $sites){
New-PnPSite -Type $site.type -Title $site.title -Alias $site.alias
}
What is the version of the Cmdlet module you are running?
Running PowerShell 7.1 and version 1.3.0 or pnp.powershell.
Which operating system/environment are you running PnP PowerShell on?
- [x ] Windows
- Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working