What should I do if I can't log in to OneDrive?

If you cannot log in to OneDrive, the immediate course of action is to methodically isolate the cause, which typically resides in one of three areas: credential issues, application or system conflicts, or service outages. Begin by verifying your username and password directly on the Microsoft account sign-in page in a web browser, as this bypasses any cached local app data. A successful web login confirms your account is active and your credentials are correct, immediately narrowing the problem to your local OneDrive application or device. If web login fails, use the "Forgot my password" tool for account recovery, being mindful that organizational accounts (e.g., from work or school) may have separate admin-managed password policies or conditional access rules that could be blocking the sign-in.

Should your account credentials prove valid, the issue likely stems from the OneDrive application itself or its integration with your operating system. On Windows, the most effective step is to use the "Reset" function for OneDrive, accessible by running the command `onedrive.exe /reset` from the Run dialog. This clears the local sync app's cache without deleting your files and often resolves persistent sign-in loops or corruption. For macOS, unlink and relink the account via the OneDrive preferences. Concurrently, check for system-level conflicts: ensure your device's date and time are set correctly, as authentication certificates rely on accurate time synchronization, and temporarily disable any third-party firewall or antivirus software that might be interfering with the app's network connection to Microsoft's servers.

A less common but critical possibility is a regional or widespread service disruption with Microsoft's OneDrive or identity platforms. Before delving into complex local troubleshooting, check the official Microsoft 365 Service Health Status dashboard, which provides real-time information on outages and degradation. If an outage is confirmed, the only viable action is to wait for Microsoft's resolution, as local fixes will be ineffective. For persistent, unresolved issues without a known outage, your escalation path depends on your account type. Personal account holders should contact Microsoft Support directly, while users with a work or school account must engage their organization's IT help desk, as they manage tenant-specific policies, security configurations, and have administrative tools to diagnose user-specific sign-in blocks that are invisible to the end-user.

Ultimately, resolving a OneDrive login failure is a diagnostic process of elimination. The sequence—verifying account access via the web, resetting the local application, checking for system conflicts, and then confirming service health—systematically addresses the vast majority of root causes. The specific nature of your Microsoft account (personal versus managed) dictates the final support avenue, as organizational accounts operate within a controlled administrative framework that can impose unique authentication hurdles beyond a user's direct control.