"Current site is not a tenant administration site".
In the source it looks like the cmdlet is hardcoded to look for "-admin" in the url. We tried setting up a hostnamed site collection for the tenant admin site but was never successful and settled for "/sites/tenantadmin" as per the example code for definetenantadminsite.ps1.
Reporting an Issue or Missing Feature
Issue
Expected behavior
Outputs search configuration xml
Actual behavior
"Current site is not a tenant administration site".
In the source it looks like the cmdlet is hardcoded to look for "-admin" in the url. We tried setting up a hostnamed site collection for the tenant admin site but was never successful and settled for "/sites/tenantadmin" as per the example code for definetenantadminsite.ps1.
Steps to reproduce behavior
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.26.2010.0
How did you install the PnP-PowerShell Cmdlets?