Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

An internal Microsoft Dynamics 365 error occurred while synchronizing appointments, contacts, and tasks


View products that this article applies to.

Symptom

After clicking Test & Enable Mailbox on a mailbox record in Dynamics 365, the Appointments, Contacts, and Tasks test result shows as Failure and the following message appears within the Alerts section:

"An internal Microsoft Dynamics 365 error occurred while synchronizing appointments, contacts, and tasks for the mailbox [Mailbox Name]. The mailbox didn't synchronize. The owner of the associated email server profile [Email Server Profile Name] has been notified.

Email Server Error Code: UserPrivilegeError"

↑ Back to the top


Cause

If you see this error message and the Email Server Error Code shows as UserPrivilegeError, this indicates the user who owns this mailbox does not have sufficient privileges. Refer to this article for a list of required privileges.

IMPORTANT: Verify the Owner of the mailbox record is the same as the User. Example: If the mailbox is a User mailbox for Paul Cannon, verify the Owner value within the mailbox record for Paul Cannon shows as Paul Cannon. If it is some other user, that user may not have access to this user's mailbox.

↑ Back to the top


Resolution

  1. As a user with the System Administrator role, open the mailbox record in Dynamics 365. NOTE: The alert includes a link to the mailbox record.
  2. Verify the Owner field on the mailbox form is populated with the name of the User. If some other user is listed, change it to be the same as this user.
  3. Click the link within the Owner field to open the User record for the owning user.
  4. Click Manage Roles to see which security role(s) is assigned to this user. 
  5. Navigate to Settings, click Security, and then click Security Roles.
  6. Open the roles found in step 4. Refer to this article for a list of required privileges and verify the user's security role contains these privileges.
  7. After verifying the user is the owner of their mailbox record and their security role contains the required privileges, click the Test & Enable Mailbox button within their mailbox record again. If the test does not result in Success, review the message that appears within the Alerts section.

↑ Back to the top


Keywords: dynamics 365, Appointment, Contact, Task, fail, Test, UserPrivilegeError

↑ Back to the top

Article Info
Article ID : 4346733
Revision : 2
Created on : 7/24/2018
Published on : 8/7/2018
Exists online : False
Views : 354