Skip to content

Get-PnPProvisioningTemplate Error #77

Open
@definitely-not-a-robot

Description

@definitely-not-a-robot

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @definitely-not-a-robot

      Issue actions

        Get-PnPProvisioningTemplate Error · Issue #77 · Zerg00s/FlowPowerAppsMigrator