Description
I've followed all the instructions, made sure the user I logged into in the separate window has Full Control on both the Source and Target sites, ran the .bat file as administrator, etc... Every time I do, it allows me to select the lists I need to move, spends a few minutes doing something, looks like it gets to the end of the export step, then throws the following error:
Looking at the traceoutput.txt file, it appears that this is the root error:
PowerShell.exe Error: 0 : 2024-08-12 11:45:25.1364 [OfficeDevPnP.Core] [0] [Error] ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerUnauthorizedAccessException: Attempted to perform an unauthorized operation.
I've looked through the other issues here for the following step (Apply-PnPProvisioningTemplate), haven't found any for this one. Is it possible this is happening because we are on a GCC (Government Community Cloud) tenant?
Activity