pnpframework: Add-PnPNavigationNode Navigation Node Collection is null

I have installed new PowerShell version (after a painful experience since older version didn’t want to uninstall), as per advised pnp/pnpframework#129. I tried this command but still failed. Copying @jansenbe. Thanks in advance for your help. Really thankful for PNP! 😃

Add-PnPNavigationNode -Title "Privacy Policy" -Url "http://www.company.com/privacy/" -Location "Footer"

Error obtained: Add-PnPNavigationNode: Navigation Node Collection is null

Get-PnPException Message : Navigation Node Collection is null Stacktrace : at PnP.PowerShell.Commands.Branding.AddNavigationNode.ExecuteCmdlet() at PnP.PowerShell.Commands.PnPSharePointCmdlet.ProcessRecord() ScriptLineNumber : 1

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

It seems that settings the logo first will not produce the required navigation node structure. This is handled in the PnP Framework so I will move this issue to the PnP Framework repository for further investigation.