Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-PnPProvisioningTemplate Error #77

Open
definitely-not-a-robot opened this issue Aug 12, 2024 · 0 comments
Open

Get-PnPProvisioningTemplate Error #77

definitely-not-a-robot opened this issue Aug 12, 2024 · 0 comments

Comments

@definitely-not-a-robot
Copy link

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:

image

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant