Business IT problems
AADSTS50126 Invalid Username or Password
AADSTS50126 is Microsoft 365 saying the username or password did not match. Often it is not the person typing, but an app still using an old password.

Last updated 21 November 2026
Short answer
AADSTS50126 means Microsoft 365 rejected the username or password. Often it is not a typo but another device, such as a phone mail app, second computer or scanner, still using an old password after a change. Check caps lock and sign in through a browser. If failed attempts keep appearing, have an admin check the sign-in logs.
Error AADSTS50126 reads as an error validating credentials due to an invalid username or password. It is returned by Microsoft Entra ID when a sign-in arrives with details that do not match the account. That sounds obvious, yet staff often see it when they are sure the password is right, which usually means the wrong account, a cached old password, or a typing detail like caps lock.
It matters because repeated failures add up. Microsoft protects accounts with smart lockout, so a phone or laptop quietly retrying an old password in the background can lock the account for a while even after the person has typed the correct one. Sorting out where every failed attempt is coming from is as important as getting the current sign-in to work.
- Price agreed before work starts
- Onsite across Auckland & Hamilton
- Job by job or on a care plan
The usual causes
The most frequent is a recent password change. Outlook on a second computer, mail on a phone, a shared calendar app or a scanner still holds the old password and keeps trying it. Next comes the wrong username, such as a personal Microsoft account email or an old address after a name change. Typing issues, like caps lock or a keyboard set to another layout, are common too. In businesses that sync passwords from an on-site server, a change made in one place may not have reached Microsoft 365 yet.
Checks before calling for help
Try these in order, using a browser first because it gives the clearest answer about whether the password itself works.
- Type the password slowly in a browser sign-in page
- Check caps lock and the keyboard language indicator
- Confirm you are using your work address, not a personal one
- Use self-service password reset if your business has it set up
- Update the password on every phone, tablet and second computer

How we track it down
With admin access we read the sign-in logs, which show each failed attempt, the app it came from and the device or location. That quickly reveals a forgotten device or service still using an old password. We reset the password if needed, update saved credentials on every device, and check that the failed attempts are not from somewhere unexpected. A stream of failures from overseas addresses points to someone guessing passwords, and that calls for a security review as well as a reset.
Before we arrive
- A screenshot of the AADSTS50126 message
- The exact username being typed
- Every device and app that uses this account
- When the password was last changed
- Microsoft 365 admin access, or the person who holds it
Related services
Microsoft 365 Setup & MigrationMicrosoft 365 tenants, mailboxes, SharePoint and security set up properly.Remote IT SupportSoftware, email, printing and account problems fixed over a secure remote connection, with an onsite visit booked if needed.Email Setup & SupportEmail set up, moved and fixed on your computers - Outlook, Apple Mail and webmail.We come to you across Auckland and Hamilton - areas we cover
What a visit looks like
When you book AADSTS50126 invalid username or password, you tell us what's going on and we reply with a time that suits you and a price. Nothing starts until you're happy with both.
On the day, the technician arrives, looks at the problem in person and confirms the plan with you before starting. If something turns out different from what was expected - a part is needed, or the cause is somewhere else - we stop and agree the change with you first.
When the work is done we test it with you, show you what was changed, and leave the area tidy. For business jobs we note what we did, so there is a record for whoever looks after your IT next.
Pricing
| Charge | Price | Incl. GST |
|---|---|---|
| Call-out, per onsite visit | $26.09 + GST | $30 |
| First hour on site | $135 + GST | $155.25 |
| Each half hour after the first hour | $60 + GST | $69 |
| Remote help session (no call-out) | $60 + GST | $69 |
| SuperGold card holders - first hour at home | $116 + GST | $133.40 |
AADSTS50126 invalid username or password is charged at our standard rates: a $30 call-out, the first hour, then half-hour blocks. We never charge by the minute or in 15-minute steps, and there are no hidden extras.
Larger jobs - a new network, a run of cabling, a server or a camera system - get a free quote before any work starts, so you know the cost up front. Parts and equipment are quoted and agreed before we order them.
There is no lock-in contract. Book a single job and pay for that job, or - for a business - choose a monthly care plan, quoted to you and stopped whenever you like.
AADSTS50126 Invalid Username or Password: common questions
I know my password is right. Why the error?
Check the username first, because a personal account and a work account can share an email address. Then think about other devices still holding an old password, as their failed attempts can lock the account while you type the right one.
Will repeated attempts lock me out?
They can. Microsoft locks an account for a short period after too many wrong attempts. Wait before trying again, and stop any phone or computer that keeps retrying in the background.
Can staff reset their own password?
Only if self-service password reset has been switched on and they have registered a phone or other method. If not, an administrator resets it in the Microsoft 365 admin centre under Users.
Could someone else be trying my account?
Possibly. If the sign-in logs show failed attempts from places you have never been, someone may be guessing. Make sure multi-factor sign-in is on and use a long, unique password.
