Forum Discussion
Outlook - cannot add Google G Suite account - javascript disabled?
Not at all!
The JavaScript error is because Outlook uses some sort of embedded browser variant which the user has not control over *
- yes/no to JavaScript
The reg tweaks force a version of browser where JavaScript will work.
Read the thread link that’s I posted. It worked for me after 2days of trying and testing fixes.
I was so glad to get it resolved I thought I’d share, to save others the time.
jm
- dpiattSep 16, 2022Copper ContributorAnother thanks to you. Today, I changed my Google password and got caught up in this issue until I saw your post. So dumb Microsoft let this happen...
- NikolayIApr 19, 2022Brass Contributor
mayojs - thanks for the regkey solution! 🙂
I tried what was written in the discussion thread and initially it didn't work for me. With this change I was able to go to the next screen, but there my email was mixed with some html in the input, so I changed it manually and was asked for a password. After entering the password I was asked to allow Outlook to read/delete etc. - the standard OAuth app question screen, but there was a problem with the "Allow" button - it was disabled and I couldn't click it and continue.
I was using the proposed browser emulation value of 11000 which should turn to Edge mode, but only if the page has !DOCTYPE specified in the html.
Then I tested with the maximum possible value (11001 decimal) which is forcing Edge mode always and finally was able to login and add my Google Workspace account.
The only required change is in the HCU registry key for browser emulation.
What was interesting is that I already had OUTLOOK.EXE there with value of 10001 which means "Internet Explorer 10. Webpages are displayed in IE10 Standards mode, regardless of the !DOCTYPE directive."
This was on a clean machine - laptop installed with clean Windows 11 and latest Outlook from Office 365 about 2 weeks ago.
Here is the solution that worked for me:
1. Open Registry Editor
2. Navigate to Computer\HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
3. Double click on "OUTLOOK.EXE" and change the value to 11001 (decimal) or 2af9 (hexadecimal) and save it (click OK).
4. Close and reopen Outlook and now it works.
If there is no OUTLOOK.EXE value, it should be added - right click - "New" -> "DWORD (32-bit ) Value and then double click to edit it.
I hope this is solved properly by Microsoft, so we do not have to edit the registry in order to add an email account.
One more time - thanks mayojs !
- jeremyridgway2017Jun 22, 2022Copper Contributor
Thanks for your suggested fix (below).
Running Office 365/Outlook on Dell Windows 11 laptop, wanted to add 2 Gmail (GSuite, not personal) accounts into Outlook.
The first one worked fine, no problems.
The second one did not - it prompted to say if account was Gsuite or personal, I chose Gsuite, entered password then got the Java script error.
So, I edited the registry as per below - and was able to set up it with no problems.
Thanks for that
1. Open Registry Editor
2. Navigate to Computer\HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
3. Double click on "OUTLOOK.EXE" and change the value to 11001 (decimal) or 2af9 (hexadecimal) and save it (click OK).
4. Close and reopen Outlook and now it works.
1. Open Registry Editor
2. Navigate to Computer\HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
3. Double click on "OUTLOOK.EXE" and change the value to 11001 (decimal) or 2af9 (hexadecimal) and save it (click OK).
4. Close and reopen Outlook and now it works.
- rothwellsJun 24, 2022Copper ContributorWhen I do this and then reopen Outlook, I get the same error message and the Registry has reverted to the original settings, any ideas?