Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Server-side sync issue between Gmail and Dynamics 365 CRM mailbox

Posted on by Microsoft Employee

Hello,

We re are currently facing a problem in the configuration of Dynamics 365 mailboxes and Gmail.
We have followed this guide to connect our Gmail address to Dynamics 365: https://www.arbelatech.com/insights/blog/how-to-set-up-dynamics-365-and-gmail-integration-yes-you-can.html .
When this configuration has been enabled, some users have successfully connected their mailbox, others haven't.
After multiple searches, we tried security options like : Unlock Captcha App, Enable Less Secure apps in Google, check "It was me" on the critical security mail we received in Gmail after enabling mailbox in Dynamics 365, but we got this error message everytime in their D365 mailbox configuration:  
"Email cannot be sent for mailbox "Your mailbox is now connected to Dynamics 365" because either a server certificate needed to connect to the email server could not be validated or the credentials used to send email are incorrect or do not provide access. Mailbox "Your mailbox is now connected to Dynamics 365" didn't synchronize. A notification about this is posted on the alerts wall for the owner of the email server profile [Profile Name].
Email Server Error Code: OutgoingEmailAuthenticationError"
Anyone has another solution to authorize Dynamics 365 sync in Google Security ? 
Thanks a lot,
Alexandre D'Heur.
  • Suggested answer
    Asif365 Profile Picture
    Asif365 1,431 on at
    RE: Server-side sync issue between Gmail and Dynamics 365 CRM mailbox

    HI Alexander,

    Error is clearly showing that, you have some authentication/password issue with Gmail.

    Please have a look at the MS support link:

    support.microsoft.com/.../outgoingemailauthenticationerror-error-appears-in-dynamics-365-mailbox

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Server-side sync issue between Gmail and Dynamics 365 CRM mailbox

    Hi Ali,

    Thank you for your reply.

    This security features has been enabled on each Google Account. But even with this option enabled, some users can't synchronize their mailbox in D365.

    Regards,

    Alexandre.

  • Suggested answer
    Asif365 Profile Picture
    Asif365 1,431 on at
    RE: Server-side sync issue between Gmail and Dynamics 365 CRM mailbox

    Hi Alexandre,

    You need to check Gmail Security, Gmail will at times block connections from third party apps.  While Dynamics 365 uses built-in security features to keep data safe, it is not exempt from Google's own built-in security features.  To enable this connection:

    1. Go to https://google.com/settings/security/lesssecureapps
    2. Toggle Allow less secure apps: ON

    pastedimage1588628491344v1.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Server-side sync issue between Gmail and Dynamics 365 CRM mailbox

    Hello,

    We changed the password, according to the Google password policy.

    Unfortunately, this has not changed the problem. We still get the same error message when activating the mailbox in Dynamics 365.

    pastedimage1588602112845v1.png

    Weird thing, User can receive the security message in their Gmail  : "sign-in attempt was blocked" with the link "check activity"

    Have you got other options to authorize sync between Google and D365?

    Thank you for your help.

    Regards,

    Alexandre D'Heur.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Server-side sync issue between Gmail and Dynamics 365 CRM mailbox

    Hi Lu Hao,

    Thanks for you help !

    We haven't tried to change passwords yet, as suggested in the Inogic solution.

    We are going to do that.

    Best regards,

    Alexandre D'Heur.

  • Verified answer
    LuHao Profile Picture
    LuHao 40,872 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans