Using Outlook for iOS for personal email and calendar management
AADSTS165000 in this Apple Mail sign-in flow matches a broken session context during authentication. For this scenario, the supported fixes are to reset the Apple Mail account setup flow so it uses Outlook.com with modern authentication, and clear Safari website data because the sign-in flow depends on that web session.
- Remove the Hotmail account from Apple Mail.
- On iPhone/iPad: Settings > Mail > Accounts.
- Tap the account, then Delete Account.
- Add it back using the correct provider.
- Go to Settings > Mail > Accounts > Add Account.
- Choose Outlook.com.
- Do not add it as a generic IMAP/POP account.
- If the error appears again, fully reset the web sign-in state.
- Remove the account again.
- Go to Settings > Safari > Clear History and Website Data.
- Reboot the iPhone.
- Add the account back and complete the Outlook.com sign-in flow again.
- If adding the account in the Outlook app on iOS instead of Apple Mail, use the same session-reset approach first.
- Force-close Outlook.
- Restart the device.
- Check for iOS and Outlook app updates.
- In Settings > Safari, make sure Block All Cookies is turned off.
- If a VPN or security app is enabled, turn it off during setup.
- If Apple Mail still fails, use Outlook for iOS as the workaround.
- In Outlook for iOS: Inbox > Settings > Accounts > Add Account > Email Account.
- Enter the Hotmail address, then sign in and approve the request if two-step verification is enabled.
This issue is commonly caused by Apple Mail or iOS using an old/basic-auth style configuration or a broken Safari-backed authentication session. Re-adding the account specifically as Outlook.com and clearing Safari website data are the documented recovery steps.
References:
- Outlook and other apps are unable to connect to Outlook.com when using Basic authentication | Microsoft Support
- Modern Authentication Methods now needed to continue syncing Outlook Email in non-Microsoft email apps | Microsoft Support
- Add your Outlook.com account to another mail app or smart device | Microsoft Support
- Cannot add email account to outlook app on iOS - Microsoft Q&A