Fix OneDrive Server Error in '/' Application Sign-in Failure
Question details
Users encounter an ASP.NET server error and a recurring authentication loop when attempting to sign into OneDrive.
- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Signing into OneDrive via a web browser using two-factor authentication, particularly when accessing it through an Okta dashboard.
- Observed behavior
- The browser displays an ASP.NET "Server Error in '/' Application" message. When attempting two-factor authentication, the system loops the user back to the sign-in page without granting access.
Confirm whether this error occurs only when accessing OneDrive via the Okta dashboard or if it persists when logging in directly through the Microsoft portal.
Escalate to Microsoft and Okta Support
Because this is a known server-side integration failure between Okta and Microsoft, submitting a joint support ticket is required for a permanent fix.
This ASP.NET error is typically not caused by a local browser or device issue. It is a recognized service-side and identity-provider integration problem that has impacted users since April 2024.
To resolve it, your IT department needs to coordinate with both vendors to fix the authentication flow.
Take a screenshot of the exact ASP.NET "Server Error in '/' Application" message and record the timestamp of the failed login attempt.
Report the issue to your organization's IT support team, emphasizing that it is an Okta-to-OneDrive two-factor authentication loop.
Request that your IT administrator open or escalate a joint support ticket with both Okta Support and Microsoft Support.
Provide both vendors with your authentication flow details and request a confirmation once the server-side integration is repaired.

Bypass the Okta Dashboard Workaround
If you urgently need access to your OneDrive files, bypassing the Okta dashboard and logging in directly to Microsoft 365 might bypass the integration error.
Try WPS Office for Uninterrupted Document Management
When server errors block your access to Microsoft OneDrive or Microsoft 365, having a reliable desktop alternative ensures your productivity never stops. WPS Office provides a free, lightweight suite with excellent file compatibility.
- 1. Download the Installer: Visit the official WPS Office website and download the free version for your operating system.
- 2. Install WPS Office: Run the downloaded file and follow the quick on-screen instructions to install the suite.
- 3. Open and Edit Files: Launch WPS Office and open your local Word, Excel, or PowerPoint files without worrying about formatting loss.

Frequently Asked Questions
What does "Server Error in '/' Application" mean in OneDrive?
This is an ASP.NET backend error indicating that Microsoft's servers encountered a problem while processing your request. In this context, it usually means the integration between the identity provider (like Okta) and Microsoft's authentication service failed.
Can I fix this OneDrive login error by clearing my browser cache?
Generally, no. Because this is a server-side failure related to identity provider integration, local troubleshooting steps like clearing cache, deleting cookies, or reinstalling the browser will not resolve the underlying issue.
How can I access my files while this Okta and OneDrive error is being fixed?
You can try accessing your files through the local OneDrive desktop application, the mobile app, or by logging into portal.office.com directly via an Incognito browser window to bypass the Okta dashboard.




