Managing profiles, sync settings, and sign-in options in Edge on iOS
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This is the error I get on my iPhone:
AADSTS165000: Invalid Request: The user session context is missing. One or more of the user context values (cookies; form fields; headers) were not supplied, every request must include these values and maintain them across a complete single user flow.
Managing profiles, sync settings, and sign-in options in Edge on iOS
Hello
What exactly are you logging into on your iPhone? A certain website? If so, what URL and is it via Edge?
Or a certain app? If so, which app?
Is this for an organization issued account?
What exactly are you logging into on your iPhone? Outlook Email app
A certain website? If so, what URL and is it via Edge? No
Or a certain app? If so, which app? Outlook
Is this for an organization issued account? Personal MC 365 Account
AI answer
The error indicates that required user session context (cookies, form fields, or headers) is not being preserved between requests on the iPhone. This typically happens when the browser or embedded web view used for sign-in does not allow cookies or does not share them correctly.
For iOS sign-in flows that rely on Microsoft identity (including Microsoft 365 and Entra ID–backed apps), the sign-in experience depends on cookies being stored and reused to maintain a single user flow. If cookies are blocked, cleared, or isolated between requests, the service treats each request as a new session and fails with an error like AADSTS165000.
To address this on iOS:
These steps ensure that the required user context values (cookies and related state) are maintained across the complete sign-in flow, preventing repeated failures with missing session context.
References: