Error code 0x800704cf when signing in usually indicates a connectivity or account sign-in problem, even if the device appears to be online.
Try these steps in order:
- Confirm Windows sign-in and account status
- Make sure the device can sign in to Windows normally with the current profile.
- If Windows shows messages like We can't sign in to your account or signs in with a temporary profile, follow the steps in the Windows sign-in troubleshooting articles to stabilize the local profile first, because a temporary or corrupted profile can interfere with Microsoft account sign-in.
- Use Windows sign-in troubleshooting
- Go through the guidance in Troubleshoot Problems Signing In to Windows. Depending on what is seen (PIN issues, password issues, verification codes not arriving, etc.), use the relevant article:
- Forgot your PIN
- Change or reset your Windows password
- Forgot your Microsoft account password
- Not getting verification codes
- If the Microsoft account itself cannot be signed into from a browser (for example at Outlook.com or account.microsoft.com), use the Sign-in helper mentioned in the article to detect and fix account-side issues.
- Check for temporary profile issues
- If Windows shows We can't sign in to your account or You’ve been signed in with a temporary profile, follow these steps:
- Restart the device in Safe mode and sign in with the original profile, then restart again in normal mode and test.
- If that fails, temporarily disable antivirus or other security software that might interfere with sign-in.
- As a deeper step, temporarily disable Microsoft Defender services as described in the article, then test sign-in again. Remember to set them back to Automatic after troubleshooting.
- If the original profile still does not work, create a new local administrator account and then follow Fix a corrupted user profile to move data to the new profile.
- Test Microsoft account sign-in on the web
- From a browser, try signing in to the Microsoft account. If sign-in fails there as well, use:
- Forgot your Microsoft account password
- Not getting verification codes
- If the account is blocked or locked, follow the guidance in those articles and the Sign-in helper to unblock or recover it.
If, after stabilizing the Windows profile and confirming that the Microsoft account works in a browser, the error 0x800704cf still appears only when connecting the account in Windows, use the Windows account settings to remove the Microsoft account from the device (if present) and add it again after a restart.
References: