This usually means the sign-in page is expecting a work or school account, not a personal Microsoft account.
Use the correct sign-in page for the account type:
- For a personal Microsoft account, sign in at account.microsoft.com.
- For a work or school account, sign in at https://myaccount.microsoft.com.
If only a personal home account exists, do not use a work/school sign-in page. If the error appears in a Microsoft app or site, sign out and sign back in with the personal account on the personal account sign-in page.
If sign-in still fails:
- Use the Sign-in Helper tool to identify the account problem and get the next steps.
- If the password was forgotten, use the password reset flow.
- If the username is not recognized, use the Sign-in Helper tool.
- If the account has not been used for more than two years, it may have been deleted and cannot be reopened.
If this happens specifically in OneDrive and the message says the selected user account does not exist in the tenant or that a personal account cannot access a work/school OneDrive site, sign in with a work/school account instead. A personal account will not work for that site.
References: