Skip to content
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account

Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account

Written By Anoop C Nair
Last Updated October 22, 2024
Posted In Windows 365
SHARE

Let’s discuss the Fix Outlook Error the Browser or App may not be Secure when you try to add Gmail Account to Outlook profile. Outlook Teams recognized a Gmail Account sync and added an issue with Classic Outlook. This issue occurred when the user tried to add or sync to a Gmail Account to an Outlook Profile.

Do you know what is Microsoft Classic Outlook? Classic Outlook is the old version of the Outlook email application. The classic Outlook app includes many Microsoft 365 subscriptions, including desktop apps and Office versions, such as Office Home & Business.

Due to this issue, Outlook users get an error message and cannot complete the Gmail account syncing. Windows 365 users cannot add a Gmail Account to their Outlook Profile. There are some reasons behind these error messages on Outlook.

The issues mentioned above may be due to users not having IMAP enabled for their Gmail accounts. Google is removing that control, but it is still in account settings for some users. Outlook Teams is releasing a fix that is currently available to Office Insider in both Current Channel Preview and Office Insider.

Patch My PC
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account - Fig.1
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.1

What is Enable IMAP Gmail?

IMAP means (Internet Messages Access Protocol (IMAP), which allows users to download messages from a mail provider’s servers, such as those for Gmail, etc. With IMAP, you can access your email from any device wherever you are.

Fix Outlook Error: The Browser or App may not be Secure when trying to Add a Gmail Account

As I mentioned above, Outlook users get errors when trying to sync their Gmail Accounts by adding or signing in. Users who do not have an enabled Gmail account may be affected by the mentioned issue. The following table shows the 2 error messages in Classic Outlook.

Adding/Syncing Gmail Account Error Message
Syncing Gmail Account in Classic Outlook Profile“The browser or app may not be secure.”
Adding a Gmail Account in Classic Outlook ProfileWe weren’t able to set up your Google account with IMAP. You may need to make changes to your Gmail settings.”
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account – Table.1

Issue in Syncing Gmail Account in Classic Outlook Profile

Users face issues with synchronizing accounts in Classic Outlook. The error message is “The browser or app may not be secure.” With this error message, sign-in cannot be completed in Classic Outlook. The below screenshot will show the details.

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 try to sign in again.

Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account - Fig.2 - Creds to MS
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.2 – Creds to MS

The issue in Adding a Gmail Account to the Classic Outlook Profile

Error messages also occur when users try adding a Gmail Account to their Classic Outlook Profile. The error message is:

“We weren’t able to set up your Google account with IMAP. You may need to make changes to your Gmail settings.”

Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account - Fig.3 - Creds to MS
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.3 – Creds to MS

Workaround

To fix this issue, you must remove Gmail access for Microsoft apps and services and sign in from Outlook again using the browser. Below are two steps to help you return to the browser sign-in, where you can check that check box. 

Step 1: Remove Access for Microsoft Apps & Services in Gmail

  • Sign in to your Google account on google.com.
  • Select your profile picture in the top corner and click Manage your Google Account.
  • Select Security from the left side menu.
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.4
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.4
  • Scroll down to Your connections to third-party apps & services and hit Microsoft apps & services.
  • Find Microsoft apps & services has some access to your Google Account and select See Details.
  • Under Access you’ve given to Microsoft apps & services, select Remove all access.
  • Select Confirm.
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.5
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.5

Step 2: Delete the Google IMAP Credentials from Windows Credential Manager

Search for Credential Manager from the Start Menu and Open it. (On Windows 10 you may need to open the Control Panel to access Credential Manager)

Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.6
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.6
  • Under Manage your credentials, select Windows Credentials.
  • Scroll down to Generic credentials and locate those starting with MicrosoftOffice16_Data:OAUTH2.
  • Expand each of these and hover over MicrosoftOffice16_Data:OAUTH2 until it shows the full name, including the tp_google_imap_Oauth2. These are the Google credentials for your Gmail account.
  • Select Remove for each of these with the MicrosoftOffice16_Data:OAUTH2. If you have multiple Gmail accounts, you must sign in to each of them again.

Other Fixes to Resolve Classic Outlook Issue

Outlook Teams fixes are available only on Office Insider in Current Channel Preview and Office Insider. So users can switch to Office Insider to get the fix. For this, you can choose to Set a registry key that enables a toggle backstage or Run a registry key that switches directly. There are different methods available in each switching method.

  • Suppose you want to avoid removing Google IMAP credentials except for the specific affected account. You can map the credentials using the registry key below and compare them to the identities. 
  • Open Registry Editor and paste this path in the Address bar at the top: Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity\Identities
  • The subkeys to this registry key above include your Gmail identity. At the beginning of the identity registry key is a number that matches your Gmail credential in Credential Manager. See the examples below for reference. 
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.7 Creds to MS
Fix Outlook Error the Browser or App may not be Secure when try to add Gmail Account- Fig.7 Creds to MS

After you have completed the steps above, you will be ready to sign in via Outlook. Open Outlook to the Outlook profile not syncing and select the Sign in via browser business bar. During browser sign-in, check the box for Microsoft apps and services.

If you removed the Gmail account from your Outlook profile, select FileAdd account to add it back, and then repeat the browser sign-in process.

Resources

Join the LinkedIn Page and Telegram group to get the latest step-by-step guides and news updates. Join our Meetup Page to participate in User group meetings. Also, Join the WhatsApp Community to get the latest news on Microsoft Technologies. We are there on Reddit as well.

Author

Anoop C Nair has been Microsoft MVP from 2015 onwards for 10 consecutive years! He is a Workplace Solution Architect with more than 22+ years of experience in Workplace technologies. He is also a Blogger, Speaker, and Local User Group Community leader. His main focus is on Device Management technologies like SCCM and Intune. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security, Career, etc.

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Add Windows 365 Cloud Apps from File Path using Microsoft Intune

Key Takeaways In this article, I’ll explain how to add Windows 365 Apps from a file path using Microsoft Intune. Windows 365 admins can now manually add Cloud Apps by specifying an application’s executable file path. This Public Preview feature allows admins to publish apps that don’t appear in the Start Menu, giving them greater […]

VK Vaishnav K 6 min read
Microsoft 365

Purchase Windows 365 Flex High Performance Cloud PC Free Trial License

Key Takeaways In this article, I will explain how to purchase a Windows 365 Flex High Performance Cloud PC Free Trial License. Microsoft now offers a Windows 365 Flex 32 vCPU, 128 GB RAM, 2 TB Storage Cloud PCs free trial, giving organisations an excellent opportunity to evaluate one of the most powerful Cloud PC […]

VK Vaishnav K 6 min read
Intune

Publish Microsoft Teams Windows 365 Cloud App using Intune

Key Takeaways In this article, I’ll explain how to publish the Microsoft Teams Windows 365 Cloud App using Intune. Microsoft has enhanced Windows 365 Cloud Apps with support for .appx and .msix packaged applications. This means admins can now discover and publish apps like Microsoft Teams and the new Outlook directly through the existing Cloud […]

VK Vaishnav K 7 min read
Intune

Best way to Uninstall 3rd-Party Dev Tools from Windows 11 Dev Cloud PC using Intune

Key Takeways In this article, I’ll walk you through how to uninstall the 3rd-party Dev tools from Windows 11 Dev Cloud PC using the Microsoft Intune PowerShell Script. If you no longer require the preinstalled third-party developer tools included in the Windows 11 Developer Configuration image, Microsoft provides an uninstall script to remove them. This […]

VK Vaishnav K 16 min read