New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoke-PnPSiteTemplate : Object reference not set to an instance of an object. #164
Comments
@mbalcarek : can you share the created template (the template.xml file)? |
Got the same... Please have mine....
Please also find the exception
|
Same error when trying to deploy some lists/fields to a site. Template XML attached. Error thrown by script line 87: Invoke-PnPSiteTemplate -Path $templateFileName -Handlers Lists Get-PnPException output: Message : Object reference not set to an instance of an object. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
I am getting this issue while provisioning template. Below is error.
|
I have got the same problem... I got the template with this code from a dev tenant and I can't Import it into the production tenant.
After connecting to the site, I fire this command, but the error displayed below pops up.
|
I am getting similar issues with Invoke-PnPSiteTemplate, why was this issue closed? |
am getting the same error , any idea please or other suggestion to copy a site from tenant to another |
I am trying to copy a customized home page home.aspx from one site collection to another. Both are modern team sites without Teams. Please note there is a home.aspx in both the source and target urls.
`
$pageName = "Home.aspx"
results:
The text was updated successfully, but these errors were encountered: