Zerg00s / FlowPowerAppsMigrator

Converts SharePoint Data sources for the MS Flow and PowerApps to a new tenant of your choice.
MIT License
136 stars 33 forks source link

Get-PnPProvisioningTemplate Error #77

Open definitely-not-a-robot opened 1 month ago

definitely-not-a-robot commented 1 month ago

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?