Hello, thank you for reaching out to Microsoft Q&A.
The error 'Too many attempts' appears if you repeatedly try to sign in with your Microsoft account.
Could you please check if you are experiencing the same issue when signing in with your Microsoft account online?
https://account.microsoft.com/
Wait for 24 hours before trying to sign in again. Repeated sign-in attempts may reset any time lock set in your account.
After 24 hours, before signing in,
- Press the Windows + R keys, type services.msc, and click Ok.
- Locate the 'Microsoft Sign-in Assistant Service' and click Restart.
- Once done, go to Apps > Advanced Apps section and sign in with your Microsoft account.
If you are still getting an error, enable two-factor authentication in your Microsoft account.
https://account.live.com/proofs/Manage
Once turned on, try signing in with your account.
Let me know if you still need more help.