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
I got several warnings of this kind: WARNING: User 'i:0#.f|membership|[email protected]' not found, cannot add to group
And after those warnings the proccess ends with this message:
Invoke-PnPSiteTemplate: No puede conceder a un usuario el nivel de permisos de acceso limitado.
If i see the generated PnP log:
pwsh Error: 0 : 2024-07-23 12:08:49.3626 [PnP.Framework] [0] [Error] ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerException: No puede conceder a un usuario el nivel de permisos de acceso limitado.
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServerAsync(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryAsync()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQueryAsync()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQueryAsync()
at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, String userAgent)
Hi all!
I'm trying to clone a SharePoint Online site to another within the same tenant. I would like to have 2 identical sites.
I have extracted the site template by:
$mastersiteConn = Connect-PnPOnline -Url https://xxxxxxxx.sharepoint.com/sites/xxxxxxxx -Interactive -ReturnConnection
$path = "template.pnp"
Get-PnPSiteTemplate -Out $path -Connection $mastersiteConn -force
With the template created, i ran:
Connect-PnPOnline -Url https://xxxxxxxx.sharepoint.com/sites/yyyyyyyyy -Interactive
Invoke-PnPSiteTemplate -Path template.pnp
I got several warnings of this kind: WARNING: User 'i:0#.f|membership|[email protected]' not found, cannot add to group
And after those warnings the proccess ends with this message:
Invoke-PnPSiteTemplate: No puede conceder a un usuario el nivel de permisos de acceso limitado.
If i see the generated PnP log:
pwsh Error: 0 : 2024-07-23 12:08:49.3626 [PnP.Framework] [0] [Error] ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerException: No puede conceder a un usuario el nivel de permisos de acceso limitado.
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServerAsync(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryAsync()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQueryAsync()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQueryAsync()
at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, String userAgent)
ServerErrorCode: -2146232832
ServerErrorTypeName: Microsoft.SharePoint.SPException
ServerErrorTraceCorrelationId: d5133fa1-a0b5-9000-74a6-488ad7234b9b
ServerErrorValue:
ServerErrorDetails:
. 0ms
I don't know how get rid this issue and be able to clone the site.
Thanks in advance!
The text was updated successfully, but these errors were encountered: