If your user is trying to re-authenticate using Microsoft 365, they might get the error:
UnauthorizedError(u'Wrong username or password for https://outlook.office365.com/)
Updating the security defaults, might allow them to finish authentication.
- Go the Azure Active Directory admin center.
- Click Azure Active Directory.
- Click Properties.
- Under the heading Access management for Azure resources, select Manage Security defaults.
- Toggle Enable Security Defaults to No.