You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line:
$script = Get-SiteScriptFromWeb -url "site" -IncludeAll
When used after a connection is made and URL is an existing site, should produce a JSON file in $script
Expected behavior
This line:
$script = Get-SiteScriptFromWeb -url "site" -IncludeAll
When used after a connection is made and URL is an existing site, should produce a JSON file in $script
Actual behavior
Note tenant id and clientid masked.
PS E:\Code\SharePoint\ROP.SharePoint.SiteScripts> $c = connect-pnponline -url https://yyyyy-admin.sharepoint.com -applicationid -interactive -returnconnection
PS E:\Code\SharePoint\ROP.SharePoint.SiteScripts> $c
ConnectionMethod : Credentials
ConnectionType : TenantAdmin
InitializationType : Unknown
Scopes :
PSCredential :
ClientId :
ClientSecret :
ApplicationInsights : PnP.PowerShell.ALC.ApplicationInsights
Url : https://yyyyy-admin.sharepoint.com/
TenantAdminUrl :
Certificate :
DeleteCertificateFromCacheOnDisconnect : False
Context : PnP.Framework.PnPClientContext
Tenant :
UserAssignedManagedIdentityObjectId :
UserAssignedManagedIdentityClientId :
UserAssignedManagedIdentityAzureResourceId :
AzureEnvironment : Production
PS E:\Code\SharePoint\ROP.SharePoint.SiteScripts> $script = Get-PnPSiteScriptFromWeb -url "https://yyyyy.sharepoint.com/sites/I14" -includeall
Get-PnPSiteScriptFromWeb: File Not Found.
PS E:\Code\SharePoint\ROP.SharePoint.SiteScripts> $script
PS E:\Code\SharePoint\ROP.SharePoint.SiteScripts>
Steps to reproduce behavior
What is the version of the Cmdlet module you are running?
ModuleType Version PreRelease Name PSEdition ExportedCommands
Manifest 2.12.0 PnP.PowerShell Core {Add-PnPAdaptiveScopeProperty, Add-PnPE…
Manifest 2.1.1 PnP.PowerShell Desk {Add-PnPAdaptiveScopeProperty, Add-PnPP…
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: