Fix AADSTS165000 Invalid Request Error on iPad
Question details
A user needs to resolve an authentication issue where a student account successfully signs in on other devices but fails on an iPad.
- Product
- Microsoft Office / OneDrive
- Device & OS
- iPadOS
- Scenario
- Signing in to a school or student account via a web browser or dedicated app on an iPad.
- Observed behavior
- The sign-in process fails and displays an AADSTS165000 "Invalid Request" error message on the iPad.
Verify whether you are attempting to sign in through the iPad's web browser (like Safari) or directly through a dedicated application, as the troubleshooting steps differ slightly.
Clear Browser Cache and Use Private Browsing
Stored cache and corrupted cookies are the most common causes of the AADSTS165000 error during web-based sign-ins.
When authentication tokens expire or become corrupted in your browser, Microsoft's Azure Active Directory (AAD) rejects the login attempt. Clearing this data forces a fresh authentication request.
Open your iPad's Settings app, scroll down the left menu, and tap on Safari.
Tap on "Clear History and Website Data" to remove cached files and cookies that might be causing the conflict.
Open the Safari app, tap the Tabs icon, and select "Private" to open a new Private Browsing window. Navigate to the login page and try signing in again.
If Safari continues to fail, download an alternative browser like Chrome from the App Store and attempt to log in there.
Update the Application and iPadOS
Outdated software can cause authentication protocols to fail when communicating with secure sign-in servers.
Reinstall the App and Contact School IT
If local troubleshooting fails, the issue may be caused by a corrupted app installation or backend conditional access policies set by your school.
Try WPS Office for a Hassle-Free Experience on iPad
If Microsoft AAD login errors restrict your access to school documents, switch to WPS Office. It provides a robust, easy-to-use alternative that works flawlessly on iPads without requiring complex directory logins.
- 1. Download WPS Office: Open the App Store on your iPad, search for WPS Office, and download the application.
- 2. Open Your Documents: Launch the app and tap the '+' icon to create new documents or open existing files directly from your iPad storage.
- 3. Edit Without Interruptions: Edit and save your files locally or link a personal cloud account, bypassing complex school network sign-in errors.

Frequently Asked Questions
What does the AADSTS165000 Invalid Request error mean?
This is an Azure Active Directory error indicating that the authentication request sent from your iPad's browser or application was malformed or deemed invalid by the server. It is typically caused by corrupted cache data, outdated software, or backend policy conflicts.
Why does my student account sign in fine on my phone but fail on my iPad?
Different devices store separate cache, cookies, and session tokens. Your iPad likely contains corrupted temporary data or an outdated app version that is interfering with the sign-in process, whereas your phone has a clean session.
How do I clear the cache for a specific app on my iPad?
Unlike the Safari browser, iOS and iPadOS do not provide a direct button to clear the cache for most third-party applications. The most effective way to clear an app's cache is to delete the app entirely from your iPad and reinstall it from the App Store.
Can my school IT administrator fix the AADSTS165000 error?
Yes. If local troubleshooting on your iPad does not resolve the issue, your school's IT administrator can review the Azure Active Directory sign-in logs. They can identify if a conditional access policy, device compliance rule, or blocked token is preventing your iPad from signing in.




