-
Notifications
You must be signed in to change notification settings - Fork 399
Description
Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
- Are you using
Invoke-PnPSiteTemplateorGet-PnPSiteTemplate? 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/pnp/pnpframework/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/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues
Reporting an Issue or Missing Feature
new-pnpsite throws object reference not set to an instance of an object
Expected behavior
new modern team site created
Actual behavior
Create new modern Team Site
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
Connect-PnPOnline -AzureEnvironment USGovernmentHigh -ClientId 'xxx' -Url 'https://x.sharepoint.us' -CertificatePassword $pass -Tenant x.onmicrosoft.com -CertificatePath C:\mycertificates\x.pfx
New-PnPSite -Type TeamSite -Title 'Team Contoso' -Alias contoso
New-PnPSite: Object reference not set to an instance of an object.
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
Manifest 2.0.53 PnP.PowerShell
Which operating system/environment are you running PnP PowerShell on?
- [ X] Windows
- Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify