logo
search
Sign-in & Login Problems

How to Fix Microsoft 365 Login Error AADSTS165000

Guest WriterGuest Writer Sep 29, 2026 870 views

Question details

The user is unable to sign into Microsoft 365 and encounters error AADSTS165000 after accidentally creating a business tenant with a personal account.

How to Fix Microsoft 365 Login Error AADSTS165000
Product
Microsoft 365
Device & OS
not provided
Scenario
Attempting to access a newly created Microsoft 365 business tenant.
Observed behavior
The system returns error AADSTS165000 because personal and work/school accounts are distinct, resulting in an account authentication conflict during sign-in.
Before you start

Before attempting to sign in again, locate the confirmation email sent by Microsoft when you created the business tenant, as it contains your actual administrator username (typically ending in .onmicrosoft.com).

Solution 1Recommended

Use Private Browsing and the Correct Work Account

Clear account conflicts by using an incognito window and signing in exclusively with your newly generated business account credentials.

When you create a Microsoft 365 business tenant, a distinct 'Work or School' account is generated. Error AADSTS165000 occurs when the browser automatically tries to pass your personal Microsoft account credentials to a business login portal.

1
Open a Private Window

Launch your web browser and open a Private or Incognito window (Ctrl+Shift+N or Cmd+Shift+N) to ensure no previous personal account sessions are active.

2
Navigate to the Login Page

Go to the official Microsoft 365 sign-in page at portal.office.com.

3
Enter the Work Account Details

Type the specific work or school account address associated with the new tenant rather than your personal email, and enter the corresponding password.

Use Private Browsing and the Correct Work Account
Account Separation: Personal accounts and work/school accounts function as completely separate entities in Microsoft's ecosystem, even if they share a similar recovery email.
Free Microsoft Office alternative

Switch to WPS Office to Avoid Account Management Hassles

Tired of dealing with complicated business tenants, login errors, and separate account types? WPS Office provides a streamlined, highly compatible office suite that lets you focus on your documents without the administrative headaches.

  1. 1. Download the Installer: Visit the official WPS Office website and click the Free Download button.
  2. 2. Install the Suite: Run the downloaded installer file and follow the simple on-screen instructions to set up WPS Office on your device.
  3. 3. Open and Edit: Launch WPS Office and immediately start creating or opening your existing Microsoft Office documents without navigating complex login portals.
No complex business tenant or multi-account management required.Fully compatible with Microsoft Office formats including Word, Excel, and PowerPoint.Lightweight software that installs quickly and runs smoothly on PC and mobile.Free to download and use for all your essential daily document tasks.
microsoft office alternative - wps office

Frequently Asked Questions

What does Microsoft error AADSTS165000 mean?

This error code indicates an account type mismatch. It happens when you try to access a corporate or business portal using a personal Microsoft account, or vice versa, causing the authentication system to reject the login attempt.

Can I merge my personal and work Microsoft accounts?

No, Microsoft does not allow the merging of personal Microsoft accounts with work or school accounts. They exist in entirely separate active directory environments and must be managed independently.

How do I find my Microsoft 365 business admin email?

Check the inbox of the personal email address you used when setting up the business trial. Microsoft typically sends a welcome email containing your new admin username, which often ends in '@[yourcompany].onmicrosoft.com'.