Open okms opened 3 years ago
Confirmed that this bug is not present in 3.21.2005.2
@okms @erwinvanhunen I have the same problem using the Get-PnPProvisioningTemplate. In the log file it says: Current site is not a tenant administration site. It's strange because I'm just connecting to a regular SharePoint site. This is really blocking me in my work as I cannot extract my SharePoint site anymore. Thanks for you help...
maybe Set-PnPTraceLog Level?
but even so, I have trouble with PnP not seeing all the lists it could have with 3.26.2010.0, after reverting 3.23.2007.1 - I still get the "error" (well, debug message), but it actually connects and I can see all the lists I have permissions for.
I also am getting the same error message.
My SharePointPnPPowerShellOnline version is 3.26.2010.0
I was trying to create a provisioning template from a multiIingual Communication Site containing a page with 2 translated pages, and I also got the same issue (with version 3.26.2020.0). However, while the error message "Current site is not a tenant administration site" appears in the PnPTraceLog, the template is created successfully, including the content of the tag
Expected behavior
Using
Connect-PnPOnline
with regular user credentials should allow a connection to a regular siteActual behavior
Using
Connect-PnPOnline
with regular user credentials should does not allow a connection to a regular site, only to the tenant admin siteSteps to reproduce behavior
Please include complete code samples in-line or linked from gists
Note: as far as i can tell this issue is not there in they May 2020 release
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
SharePointPnPPowerShellOnline 3.25.2009.1
How did you install the PnP-PowerShell Cmdlets?
cc: @wobba I logged this here as im not sure if this is releated to core.