logo
search
Sign-in & Login Problems

How to Fix the JavaScript Must Be Enabled Error When Signing in to Microsoft Office

Emma BrownEmma Brown Sep 25, 2026 868 views

Question details

Users are unable to log in to Office applications due to a JavaScript error.

Fix the 'JavaScript Must Be Enabled' Error When Signing In to Microsoft Office
Product
Microsoft Office
Device & OS
not provided
Scenario
Attempting to sign in to Microsoft Word or other Office applications to authenticate an account.
Observed behavior
A 'JavaScript must be enabled' error displays and blocks the sign-in process, even though JavaScript is confirmed enabled in Microsoft Edge. Reinstalling the Office suite does not resolve the issue.
Before you start

Before modifying your system and browser settings, ensure that all Microsoft Office applications are completely closed and that you are logged into an account with administrative privileges.

Solution 1Recommended

Reset Microsoft Edge Settings

Since Office relies on Microsoft Edge's web engine for its sign-in prompts, resetting the browser to default can clear corrupted data causing the JavaScript error.

Modern Microsoft Office applications use the Microsoft Edge WebView2 component to render login screens. Even if JavaScript appears enabled, underlying profile corruption in Edge can cause authentication scripts to fail.

1
Open Microsoft Edge Settings

Launch Microsoft Edge, click the three-dot menu icon in the top right corner of the window, and select 'Settings' from the dropdown menu.

2
Navigate to Reset settings

In the left-hand sidebar of the Settings page, click on 'Reset settings'.

3
Restore to default values

Click the 'Restore settings to their default values' option. A confirmation dialog will appear; click 'Reset' to confirm the action.

4
Restart and test

Close Microsoft Edge, open Microsoft Word or your preferred Office app, and attempt to sign in again.

Reset Microsoft Edge Settings
Data Preservation: Resetting Microsoft Edge will reset your startup page, new tab page, search engine, and pinned tabs. It will not delete your saved passwords, bookmarks, or browser history.
Free Microsoft Office alternative

Switch to WPS Office to Avoid Complex Login Errors

If you are tired of dealing with persistent Microsoft Office sign-in issues and complex browser dependencies, try WPS Office. It provides a reliable, streamlined document editing experience that does not require complicated internet security configurations just to access your files.

  1. 1. Download the installer: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the downloaded file and follow the quick on-screen prompts to complete the installation.
  3. 3. Edit your documents instantly: Open WPS Office and start editing your Word, Excel, and PowerPoint files directly without dealing with forced authentication screens.
Completely free to use for your daily document editing needs.Highly compatible with Microsoft Office formats like .docx, .xlsx, and .pptx.Lightweight software with no heavy browser or web-engine dependencies.Familiar and intuitive user interface for a seamless transition.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Office care about my Microsoft Edge settings?

Modern versions of Microsoft Office use an embedded version of Microsoft Edge (called WebView2) to display web-based interfaces, including the login screen. If Edge's settings are corrupted or blocking scripts, the Office login screen will fail to load properly.

How can I verify if JavaScript is actually enabled in Microsoft Edge?

To check your JavaScript settings, open Microsoft Edge, go to Settings > Cookies and site permissions, scroll down to 'JavaScript', and ensure the toggle is set to 'Allowed'.

Will reinstalling Microsoft Office fix the JavaScript sign-in error?

In most cases, no. Reinstalling Office does not reset the underlying Windows internet properties or Microsoft Edge user profiles where the root cause of this specific JavaScript error resides.