FlowPowerAppsMigrator icon indicating copy to clipboard operation
FlowPowerAppsMigrator copied to clipboard

Value does not fall within the expected range

Open ThomasMichelsen opened this issue 3 years ago • 1 comments

Hi Zerg00s,

I'm migrating a Power Apps solution and one site and 1 list. I see this error:

Importing lists and libraries...
[Error] Value does not fall within the expected range.
Apply-PnPProvisioningTemplate : Value does not fall within the expected range.
At C:\Users\ThomasMichelsen\Downloads\FlowPowerAppsMigrator-master\FlowPowerAppsMigrator-master\MISC\Move-Lists.ps1:124 char:9
+         Apply-PnPProvisioningTemplate -Path Lists.xml
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Apply-PnPProvisioningTemplate], ServerException
    + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Site.ApplyProvisioningTemplate

NB: If I exclude the site and list, I get this warning: "Løsningen "Tencate Ordering System" blev importeret med advarsler: Translated labels for the following languages could not be imported because they have not been enabled for this organization: 1033". Is that because I have different languages in the two Sharepoint environments?

Best regards, Thomas

ThomasMichelsen avatar Dec 15 '22 13:12 ThomasMichelsen

hi @ThomasMichelsen ,

I haven't encountered this issue, so it's hard to tell what is wrong exactly. But, judging by the error message, the target SharePoint site does not seem to have English Language (code 1033, English-US) is available. Can you confirm that English locale is enabled?

Zerg00s avatar Dec 29 '22 21:12 Zerg00s