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

MFA Update - number matching #48

Open
andreeaShini opened this issue Apr 3, 2023 · 2 comments
Open

MFA Update - number matching #48

andreeaShini opened this issue Apr 3, 2023 · 2 comments

Comments

@andreeaShini
Copy link

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

  • $lists = Get-PnPList -Includes Views, Fields, DefaultView
    
  •          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : WriteError: (:) [Get-PnPList], WebException
    • FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Lists.GetList
@Zerg00s
Copy link
Owner

Zerg00s commented Apr 4, 2023

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
Copy link
Author

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

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

2 participants