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
When calling New-PnPSite I get the following error:
Error creating site: Could not load file or assembly 'System.IdentityModel.Tokens.Jwt, Version=6.35.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (0x80131621)
Expected behavior
Create a SharePoint Site without group with english language setting
Actual behavior
Can not create the site due to a missing file or assembly
Steps to reproduce behavior
I get the error when using this code
Write-Output "Creating Site with Alias: $siteName"
try {
New-PnPSite -Type TeamSiteWithoutMicrosoft365Group -Title $siteTitle -Url $siteUrl -Lcid 1033 -Owner "[email protected]"
Write-Output "Team site created successfully."
}
catch {
Write-Output "Error creating site: $_"
}
What is the version of the Cmdlet module you are running?
Powershell 7.2
PnP.Powershell 2.12.0
Which operating system/environment are you running PnP PowerShell on?
Windows
Linux
MacOS
[x ] Azure Cloud Shell
Azure Functions
Other : please specify
The text was updated successfully, but these errors were encountered:
When calling New-PnPSite I get the following error:
Error creating site: Could not load file or assembly 'System.IdentityModel.Tokens.Jwt, Version=6.35.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (0x80131621)
Expected behavior
Create a SharePoint Site without group with english language setting
Actual behavior
Can not create the site due to a missing file or assembly
Steps to reproduce behavior
I get the error when using this code
Write-Output "Creating Site with Alias: $siteName"
try {
New-PnPSite -Type TeamSiteWithoutMicrosoft365Group -Title $siteTitle -Url $siteUrl -Lcid 1033 -Owner "[email protected]"
Write-Output "Team site created successfully."
}
catch {
Write-Output "Error creating site: $_"
}
What is the version of the Cmdlet module you are running?
Powershell 7.2
PnP.Powershell 2.12.0
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: