Forum Discussion
Outlook - cannot add Google G Suite account - javascript disabled?
I had this problem with a client's account.
I found this fix which worked for me:
https://docs.microsoft.com/en-us/answers/questions/374439/cannot-add-gmail-to-outlook-this-browser-or-app-ma.html
3 x registry setting changes. I made a batch file to fix it for others.
HTH
John
- mayojsApr 18, 2022Brass Contributor
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 !