When performing a Paste All Site Content job to SharePoint Online (SPO) with Custom Copy (Preserve Sites), the error message below is encountered during the Updating Site operation despite the migration account having the site collection administrator permission:
Error: An error occurred during the operation of a service method: Access denied. You do not have permission to perform this action or access this resource.
Stack: at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Metalogix.SharePoint.Adapters.CSOM2013.ClientContextExtension.ExecuteQueryWithIncrementalRetry(ClientRuntimeContext context, Int32 retryCount, Int32 delay)
at Metalogix.SharePoint.Adapters.CSOM2013.CSOMAdapter.CallExecuteQuery(ClientRuntimeContext ctx, SharePointAdapter callingAdapter)
at Metalogix.SharePoint.Adapters.CSOM2013.CSOMAdapter.UpdateWebProperties(ClientContext clientContext, Web web, XmlNode webXML, IUpdateWebOptions updateWebOptions, Int32 iLocaleNew, OperationReporting opResult)
at Metalogix.SharePoint.Adapters.CSOM2013.CSOMAdapter.UpdateWeb(String sWebXML, UpdateWebOptions updateOptions)
at SyncInvokeUpdateWeb(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
The cause is not completely determined at this time. It may be due to some broken permission inheritance on the target site.
