Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

CRM Appointments are not synchronized from CRM to Outlook

Posted on by 265

Hi,
We have CRM 2016 SP1 update0.1 (8.1.1.105) and Exchange Online. We are using server side synchronization Hybrid Connector. Whole setup was sucessfull without error.
Now days we have troubles with synchronization from CRM to outlook. All users have outlook client with same version as CRM. Outlook version is o365 ProPllus ver. 1902.
Synchronization from Outlook to CRM is OK but if we create Appointment in CRM then it is not visible in outlook. Sync filter are OK.

Any idea?

  • cjanow3 Profile Picture
    cjanow3 162 on at
    RE: CRM Appointments are not synchronized from CRM to Outlook

    Late to the party, but experiencing similar issues here.  Any chance the error was resolved without a MS case?

    Best.

  • Zvoldaa Profile Picture
    Zvoldaa 265 on at
    RE: CRM Appointments are not synchronized from CRM to Outlook

    Hi,

    I think we will need MS case, because we hae also another problem. A lot of users getting error: ExchangeSyncPrivilegeDeniedFailure.

    Hybrid connector is trying update already closed appointments.

    Under the mailbox I can see following error:

    T:25

    ActivityId: 5892e4f1-37f5-4adb-b8e3-76e20f369c07

    >Exception : Unhandled Exception: Microsoft.Crm.Asynchronous.EmailConnector.ExchangeSyncException: Failed to sync item to CRM server : Unhandled Exception: Microsoft.Crm.CrmSecurityException: SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 612960b0-6d00-e511-80f5-005056824d6d, OwnerId: ce9f6a16-784c-e811-80f6-001dd8bd2d01,  OwnerIdType: 8 and CallingUser: 00000000-0000-0000-0000-000000000000. ObjectTypeCode: 4201, objectBusinessUnitId: 2fddbf1c-7eff-e711-80f7-0050568b6380, AccessRights: WriteAccess     at Microsoft.Crm.BusinessEntities.SecurityLibrary.AccessCheckEx2(ExecutionContext context, SecurityPrincipal principal, SecurityPrincipal ownerPrincipal, Guid objectId, Int32 objectTypeCode, Guid objectBusinessUnitId, AccessRights rights)    at Microsoft.Crm.Asynchronous.EmailConnector.CrmItem.AssertUserHasWriteAccessToItem()    at Microsoft.Crm.Asynchronous.EmailConnector.CrmAppointmentItem.CanCurrentUserUpdateAppt()    at Microsoft....

  • Tom Jeffries Profile Picture
    Tom Jeffries 145 on at
    RE: CRM Appointments are not synchronized from CRM to Outlook

    Hi Filip,

    I see.  Thank you for all the information.  The fact that Test & Enabling the mailbox causes the new appointment to synchronize is really interesting.

    Based on the information we have so far, here are the possibilities I see:

    1) Server-Side Sync is getting stuck after Test & Enable, or Test & Enable is not fully completing.

    2) There is an error but it's not logged in the mailbox alerts.

    This is probably going to require more in-depth troubleshooting than we can effectively accomplish in this thread.  I would advise that you open a support case with our team so we can dive into this issue further.  You can open a case with us at one of these links, depending on your support agreement:

    support.microsoft.com/.../productselection

    support.microsoft.com/.../premier

    Please let me know if you have any questions.

  • Zvoldaa Profile Picture
    Zvoldaa 265 on at
    RE: CRM Appointments are not synchronized from CRM to Outlook

    Hi,

    When I create appointment from outlook client, record is in CRM immediately. This is OK.

    But synchronization from CRM to Outlook is not working.

    I did following test:

    - I created new appointment in CRM Web. (I was wait around 40 minutes but nothing was come).

    - I was going to Mailbox and run Test and Enable mailbox.

    - In next 5 minutes appointment is available in Outlook.

    - I am going back to CRM Web and I am creating new Appointments.

    - Again I am waiting around 40 minutes but nothing happen.

    - Again Test and Enable mailbox and appointments are available in Outlook.

    Answer to 1,2

    In System Settings - Synchronization is My Appointments filter active. Filter is fetching apointments which were created in CRM.

    Regarding the errors. I can see several with trace code 130. But the reason is that Hybrid connector trying update Appointment which is already closed.

    Answer to 3

    All users are affected with this behaviour.

    It is same for all appointments.

    We have only one organization in deployment. From architectual point of view we have 3 servers: Back End, Front End, DB server.

  • Tom Jeffries Profile Picture
    Tom Jeffries 145 on at
    RE: CRM Appointments are not synchronized from CRM to Outlook

    Hi Filip,

    When you're having an issue with an Appointment not synchronizing from CRM to Outlook, there are generally three usual causes:

    1) The synchronization filters do not include the Appointment, which you've already ruled out.

    2) The Appointment was previously deleted on the Outlook side (unlikely if it's a new appointment).

    3) There is an error preventing us from synchronizing the Appointment to Outlook.

    Since #3 is our most likely cause right now, I would suggest going to the Mailbox record for the user having the issue in CRM, selecting "Alerts" on the left of the screen, and looking for any errors or warnings pertaining to Appointment synchronization.  This should give us an initial clue as to what's causing the issue.  For example, we may find that the user is missing a permission that we need to add.

    Also, in order to better understand the possible causes of the issue, I would be considering:

    -Is the issue happening to just this appointment, multiple appointments, or all appointments?

    -Are other users affected, or just this one?

    -Are there other CRM organizations on this deployment that do/don't have the same issue?

    Depending on the answer to these questions, the issue may be record specific, user specific, a possible configuration issue, etc.

    Please let me know if this helps!

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

Featured topics

Product updates

Dynamics 365 release plans