"Make sure that the credentials specified in the mailbox are correct and have sufficient permissions" error appears when testing and enabling a mailbox in Dynamics 365

Symptom

When you attempt to test and enable a mailbox in Microsoft Dynamics 365, you encounter one of the following errors:

  • "The email message "Your mailbox is now connected to Dynamics 365" cannot be sent. Make sure that the credentials specified in the mailbox <Mailbox Name> are correct and have sufficient permissions for sending email. Then, enable the mailbox for email processing.

      Email Server Error Code: InvalidOutgoingMailboxCredentials"

  • "Email cannot be received for the mailbox <Mailbox Name>. Make sure that the credentials specified in the mailbox are correct and have sufficient permissions for receiving email. Then, enable the mailbox for email processing.

      Email Server Error Code: InvalidIncomingMailboxCredentials"

Cause

This error can occur if credentials are not provided in the mailbox record or if the credentials are not sufficient to access the corresponding mailbox.

Resolution

1. Navigate to Settings, Email Configuration, and then click Mailboxes.

2. Change the view to Active Mailboxes.

3. Select the mailbox encountering this error and then click Edit.

Note: You can also click the name of the mailbox within the error message. This appears as a hyperlink which will open the correct mailbox record.

 

4. Within the Credentials section, verify the Allow to Use Credentials for Email Processing is set to Yes and the correct User Name and Password to access the corresponding mailbox are provided.

5. Click Save and then click Test & Enable Mailbox.

6. After the tests complete, view the Alerts section if the results do not appear as Success.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×