Cannot add Gmail to Outlook: This browser or app may not be secure.

Alex Carlock 151 Reputation points
2021-04-28T01:23:58.033+00:00

I'm trying to add my Gmail account into Microsoft 365 Apps for Enterprise Outlook version 2104 build 13929.20254 Click-to-run 64 bit. I go to File --> Add Account --> enter my gmail.com address and click connect. Another screen pops up with my email address pre-populated and I click Next, which brings me to this screen:
Couldn't sign you in
This browser or app may not be secure. Learn more

Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in.

We've modified a lot of Windows Internet Settings, but I can access Gmail through IE and my default Edge Chromium browser. So why doesn't it work when accessed through Outlook? Outlook appears to be using some version of IE instead of my default Edge browser. Does anyone know why that is, or exactly what setting needs to be enabled for this to work?

Thanks.

91839-image.png

Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,958 questions
{count} votes

Accepted answer
  1. FARHAN HAIDER HAMZA 90 Reputation points
    2024-03-04T21:43:53.03+00:00

    Hi @Alex Carlock I Have Finally Solved This issue "Couldn't sign you in This browser or app may not be secure. Learn moreTry using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in."

    Actually its an issue inside microsoft edge not in your outlook... First you need to go to your computer Settings > Default Apps > Default Browser and then select Microsoft Edge as your default browser,

    User's image

    if you already have Microsoft Edge as your default browser then you can skip this step... After doing this, now go to Microsoft Edge and Type this text below in the address bar....
    User's image

    edge://settings/defaultbrowser

    Like in the screenshot below i have attached... ******Now see the option "Allow Sites to be reloaded in Internet Explorer Mode (IE MODE)" Select Don't Allow and now Go to Outlook and Add Your Gmail Account, Now it should not give any problem. I Hope this will be helpful

    3 people found this answer helpful.

17 additional answers

Sort by: Most helpful
  1. Amin Shahamiri 15 Reputation points
    2023-09-10T16:12:11.0433333+00:00

    I fixed the issue by adding https://accounts.google.com/ to the Trusted Sites.

    1- Press Win+R and enter inetcpl.cpl to open the Internet Properties window.

    2- Select the Security tab, click on the Trusted Sites, and press the Sites button.

    3- Add the https://accounts.google.com/ to the trusted websites.

    4- Try to add your Gmail account to Outlook.

    3 people found this answer helpful.

  2. Alex C 56 Reputation points
    2021-06-23T18:07:22.86+00:00

    We found a solution to this:

    1. Custom OMA - URI - ./Device/AllowAddingNonMicrosoftAccountsManually
    2. Value - Integer and set it to 1.
    3. Deploy this to the device along side the mdm baseline

    We are still determining if we want to allow this for everyone or specific users with a good business case.

    2 people found this answer helpful.

  3. Alex C 56 Reputation points
    2021-07-13T21:55:46.04+00:00

    welp, the Custom OMA - URI - ./Device/AllowAddingNonMicrosoftAccountsManually solution we found doesn't seem to be working any longer. alexpawlak's solution may be working so far, but I want to test for a day or two to be sure things don't stop working again.

    2 people found this answer helpful.
    0 comments No comments

  4. Carol M. Chisholm 26 Reputation points
    2022-02-23T08:42:09.557+00:00

    Still trying - I changed the reg key and it got worse.

    there is definitely some sort of embedded IE in Outlook.
    Add account, wait, script timeout, Javascript not enabld message (it is enabled in Edge and Chrome)
    The learn more brings up and IE logo!!!!

    177133-embedded-ie-in-outlook.png

    and there is a hung process

    177087-account-setup-process.png

    2 people found this answer helpful.
    0 comments No comments