Multi-factor authentication (MFA) requires signing in from multiple access points (such as a desktop and a cellphone) in order to validate your credentials.
If you have recently changed your credentials and are using MFA to sign into a SharePoint Online or Office 365 connection on Sharegate, you may run into authentication issues. If this occurs, please do the following:
- Access C:\Users\%currentuser%\appdata\local\sharegate\userdata.
- Rename the userdata folder.
- Attempt authentication again.
Popular MFA providers like OKTA use a token to authenticate, and the token usually changes if you change credentials. So even if you are entering the correct information to sign in, the old token will still cause problems since it is stored in the userdata folder. Renaming the folder forces Sharegate to create a new one, which fixes the issue.
Note: If you are connected to multiple environments, you will need to re-input your credentials on all of them once you rename the file.