Skip to content
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

Apply-PnPTenantTemplate : Object reference not set to an instance of an object. #16

Open
AkashAKale opened this issue Mar 11, 2020 · 1 comment

Comments

@AkashAKale
Copy link

Hi ,

All of sudden I am getting an error while executing this command Apply-PnPTenantTemplate. Please see error details below
Apply-PnPTenantTemplate : Object reference not set to an instance of an object.
At D:\Script\LMSiteProvisioningToolsAndMaintenance.ps1:29 char:5

  • Apply-PnPTenantTemplate -Path $path
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : WriteError: (:) [Apply-PnPTenantTemplate], NullReferenceException
    • FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.Tenant.ApplyTenantTemplate
@robgarrett
Copy link

I'm getting the same. I debugged the code and found it's because of a null object for a parent navigation node. My nodes are in different languages, which is causing an issue.

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

No branches or pull requests

2 participants