The newly created project site does not inherit the top link bar from its parent site collection when invoking New-PnPWeb without the -InheritNavigation switch.
Actual behavior
The mirror opposite: the new site inherits the top link bar from its parent site collection. This means when Apply-PnPProvisioningTemplate is used afterwards the error "The top link bar can only be edited for a Web site with unique navigation." is thrown.
Issue
Expected behavior
The newly created project site does not inherit the top link bar from its parent site collection when invoking New-PnPWeb without the -InheritNavigation switch.
Actual behavior
The mirror opposite: the new site inherits the top link bar from its parent site collection. This means when Apply-PnPProvisioningTemplate is used afterwards the error "The top link bar can only be edited for a Web site with unique navigation." is thrown.
Steps to reproduce behavior
Connect-PnPOnline -Url "https://tenant.sharepoint.com/sites/sitecollection" New-PnPWeb -Title "title" -Url "relativeurl" -Template "PROJECTSITE#0"
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
2.15.1705.0
How did you install the PnP-PowerShell Cmdlets?