Zerg00s / FlowPowerAppsMigrator

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

MFA Update - number matching #48

Open andreeaShini opened 1 year ago

andreeaShini commented 1 year ago

Has anyone tried to migrate an app after the recent MFA update?

The login itself seen successful, but I'm told I don't have the right permissions. (I have migrated this app about 2 months ago successfully).

[Attention] Look for a login popup in a separate window. Please, log in to the source site site https://###.sharepoint.com/sites/### [Error] make sure you have FULL CONTROL at the source site: https://###.sharepoint.com/sites/### If you already have enough permissions, try running the script with CLEAR_CREDENTIALS_CACHE set to True Get-PnPList : The remote server returned an error: (403) Forbidden. At C:\Users\arascanu\Downloads\FlowPowerAppsMigrator-master\FlowPowerAppsMigrator-master\GenerateInitialMapping.ps1:20 char:14

Zerg00s commented 1 year ago

hi @andreeaShini,

Thank you for posting this. I just tried the script and it did fail with the similar error. I then tried running the Prepare-Deployment-Package-for-Client.bat script and it ran with no issues. Then I ran the Migrate-Packages.bat script again and it also succeeded.

Can you, try, as an experiment, running the "Prepare-Deployment-Package-for-Client.bat" too? Does it also fail?

What is that recent MFA change you are talking about? Can you share some details, please? I want to read more about.

andreeaShini commented 1 year ago

Hi

Here is the article: https://learn.microsoft.com/en-us/azure/active-directory/authentication/how-to-mfa-number-match

I ended up turning off the MFA while migrating the apps, but I'll try again tomorrow and let you know if your solution works.

Thanks