Reporting an Issue or Missing Feature
An unusual situation from my dev tenant where hubsiteUrl is reported as empty, hence throwing the message 'Object reference not set to an instance of an object.' with cmdlet Unregister-PnPHubSite
Expected behavior
Unregister hub site successfully
Actual behavior
message 'Object reference not set to an instance of an object.' thrown
Steps to reproduce behavior
unregister-pnphubsite -site "https://reshmeeauckloo.sharepoint.com/sites/TestInvestmentHub"
What is the version of the Cmdlet module you are running?
3.141
Which operating system/environment are you running PnP PowerShell on?
Reporting an Issue or Missing Feature
An unusual situation from my dev tenant where hubsiteUrl is reported as empty, hence throwing the message 'Object reference not set to an instance of an object.' with cmdlet Unregister-PnPHubSite
Expected behavior
Unregister hub site successfully
Actual behavior
message 'Object reference not set to an instance of an object.' thrown
Steps to reproduce behavior
unregister-pnphubsite -site "https://reshmeeauckloo.sharepoint.com/sites/TestInvestmentHub"
What is the version of the Cmdlet module you are running?
3.141
Which operating system/environment are you running PnP PowerShell on?