Loading

Gmail Integration Requests Access to Google When You Try to Relate Email to Records

Дата публикации: Oct 13, 2022
Описание

Issue


Every time a User tries to relate an email to a Salesforce record, Gmail Integration side panel displays the following message:
 

"To add this email to Salesforce, we have to access your Google account. Give Salesforce access to Google?"


If the user clicks OK to enter the credentials for their Gmail, the message is displayed again the next time the user tries to relate another email. This usually occurs when Gmail Integration is enabled with Inbox (User is assigned to a permission set with Inbox enabled).

Решение

This error can happen when one of the flags for Gmail Integration in the Authenticator Provider object wasn’t set correctly. When Gmail Integration queries for the token the result comes back empty, generating the prompt to the User. 

To get rid of the prompt and resolve the issue to be able to relate emails via the Gmail Integration side panel, the admin should revoke the tokens from the User page and delete the Gmail Integration from the list of authentication providers in the org. To do this, follow these steps: 
 
  1. First from the Gmail Integration control panel, log out the User and close your Gmail tab.
  2. In your Salesforce org, follow these steps:
  1. Click the gear icon then on Setup.
  2. On the Quick Find box, enter users and click Users from the results.
  3. Locate the affected User and access the User's detail page.
  4. Under the 'Third-Party Account Links' related list, revoke ALL the 'Gmail Integration' and 'Gmail Integration with Inbox Auth. Providers' for this User.
  1. Access Auth. Providers in Setup menu. 
In Salesforce Classic: Type auth in the Quick Find box and click Auth. Providers under Security Controls.
 
Setup | Administer | Security Controls | Auth. Providers


In Lightning Experience: Type auth in the Quick Find box and click Auth. Providers under Identity
 
Gear icon | Setup | SETTINGS | Identity | Auth. Providers
 
  1. Click the Del link next to Gmail Integration.
  2. After deleting Gmail Integration from this list, the User should go back to Gmail, launch the 'Salesforce' add-in if it's not already loaded and connect it to Salesforce, then follow the prompts to set up Inbox and then connect to their Gmail account again. Gmail Integration will not prompt for permission to access the user's Google account anymore.

If issue isn’t resolved after following the previous steps, then try to switch OFF and then ON Inbox in the Gmail Integration setting from:
 
In Salesforce Classic
Setup | Administer | Gmail Integration and Sync | Settings

In Lightning Experience
Gear icon | Setup | ADMINISTRATION | Email | Gmail Integration and Sync

When it's done, go back to your Gmail and try to use the Salesforce add-in.


See Also
Turbo Charge Your Sales Reps with Inbox
Номер статьи базы знаний

000381957

 
Загрузка
Salesforce Help | Article