How to Fix Microsoft 365 Sign-In Error Code 2002 When Downloading Documents
Question details
Users are unable to download documents or attachments due to a persistent sign-in prompt and error code 2002.

- Product
- Microsoft 365
- Device & OS
- Windows and macOS
- Scenario
- Downloading documents or email attachments within Microsoft 365 applications, most notably Outlook.
- Observed behavior
- The application triggers an endless sign-in loop and displays Error Code 2002 instead of downloading the requested document.
Ensure you know your Microsoft 365 account credentials, as resolving this issue typically requires you to re-authenticate or add your account to a completely new user profile.
Install Microsoft 365 Application Updates
Outdated Office applications can cause authentication loops. Updating ensures you have the latest bug fixes to prevent login errors.
Microsoft frequently releases patches to address known authentication glitches. Running the built-in updater should be your first troubleshooting step before modifying profiles.
Launch Word, Excel, or the specific application throwing the 2002 error.
Click on 'File' in the top-left corner, then select 'Account' (or 'Office Account') from the left sidebar.
Under 'Product Information', click 'Update Options' and choose 'Update Now' to download and install available patches.
Create a New Outlook Profile (Windows and Mac)
If Error 2002 occurs primarily in Outlook when downloading attachments, creating a fresh profile clears corrupted credentials and connection states.
Switch to WPS Office for a Hassle-Free Experience
Tired of dealing with endless sign-in loops and Microsoft 365 error codes? Switch to WPS Office, a powerful and lightweight alternative that lets you view, edit, and manage your documents offline without constant account authentication.
- 1. Download the Installer: Visit the official WPS website and download the free installation package for your Windows or Mac device.
- 2. Install WPS Office: Run the setup file and follow the quick on-screen instructions to install the suite.
- 3. Open Your Documents: Launch WPS Office and directly open your existing files without worrying about account sync errors.

Frequently Asked Questions
What does Microsoft 365 Error Code 2002 mean?
Error Code 2002 indicates an authentication failure or a corrupted profile connection, which triggers a repetitive sign-in prompt and blocks actions like downloading documents or syncing emails.
Will I lose my files if I create a new Outlook profile?
No. Your emails, attachments, and files are safely stored on the mail server for Exchange or IMAP accounts. Creating a new profile just establishes a fresh connection to download your data again.
Can I fix Error 2002 without reinstalling Microsoft 365?
Yes, reinstalling the entire software suite is rarely necessary. Applying the latest Office updates and creating a fresh account profile usually resolves the sign-in loop entirely.





