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.

"...the email server location or the incoming email port specified in the associated email server profile [profile name] is incorrect..." error occurs in Dynamics 365


View products that this article applies to.

Symptom

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

"Email cannot not be received for the mailbox [mailbox name] because the email server location or the incoming email port specified in the associated email server profile [profile name] is incorrect. The mailbox didn't synchronize. The owner of the email server profile has been notified.

Email Server Error Code: Socket returned exception InvalidIncomingEmailServerProfileConfiguration HostNotFound."

If you click details, you see the following additional details

"ActivityId: <GUID>
>Error : System.Net.Sockets.SocketException (0x80004005): No such host is known
   at System.Net.Dns.GetAddrInfo(String name)
   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
   at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
   at Microsoft.Crm.Asynchronous.EmailConnector.Pop3Client.Connect()"

↑ Back to the top


Cause

This error can occur if the server location or port in the email server profile are not correct.

↑ Back to the top


Resolution

1. Navigate to Settings, Email Configuration, and then click Email Server Profiles.

2. Open the Email Server Profile that is used by the mailbox encountering this error.

3. Verify the Incoming Server Location value.

4. Click Advanced.

5. Verify the Incoming Port value and then click Save.

6. Click Mailboxes and then select the mailbox that encountered the error.

7. Click the Test & Enable Mailboxes button.

8. After the tests complete, open the mailbox record and view the Alerts section if the results do not appear as Success.

↑ Back to the top


Keywords: Dynamics 365, InvalidIncomingEmailServerProfileConfiguration, HostNotFound

↑ Back to the top

Article Info
Article ID : 4463808
Revision : 8
Created on : 9/12/2018
Published on : 9/12/2018
Exists online : False
Views : 262