Error when receiving email in Dynamics CRM 2013 - dynamics-crm

I've set up a forward mailbox in Dynamics CRM 2013 using the new server profile features and I an alert when performing the test and enable action. The error I am receiving is "The location of the mailbox [name] could not be determined while receiving email.".
The server profile is connected to an Office 365 and appears to be working fine for a user mailbox.
Has anyone else come across this problem?

The problem turned out to be with Office 365's auto discover.
Setting the Email Server Profiles incoming and outgoing address to https://outlook.office365.com/EWS/Exchange.asmx manually solved the problem.
I don't know if this was a local or remote issue.

Related

Migrate Email Router Data Not Working - Dynamics CRM(On-premise)

I am currently on Microsoft dynamics crm On-premises and I wanted to switch from Email Router to Server Side Synchronization for that I am CRM provided "Migrate Email Router Data"
Going to Settings > Email Configuration > Migrate Email Router Data
But then I getting below error message -
"The Migration process cannot start. Microsoft Dynamics CRM will not transfer credentials over an unsecured channel. Contact your system administrator."
I have ran below query on CONFIG database to disable ssl check.
UPDATE [MSCRM_CONFIG].[dbo\].[DeploymentProperties] SET [BitColumn]=1 WHERE ColumnName='DisableSSLCheckForEncryption'
and performed IIS Restart.but still same error.
Please help.
Seeking for an help to address the issue

code : 5001 message : "An internal error has occurred." name : "Internal Error" when calling getAccessTokenAsync

code:5001
message:"An internal error has occurred."
name:"Internal Error"
I get this error when I call getAccessTokenAsync in my outlook addin. In desktop version I get a another error with code:13003. With the AttachemntDemo sample I get the same errors.
You are most likely using an on-premises Exchange Server with a local Domain Account.
From the documentation:
13003
User Type not supported. The user isn't signed into Office with a valid Microsoft Account or Work or School account. This may happen if Office runs with an on-premises domain account, for example. Your code should ask the user to sign in to Office.
Also confirm that your server meets these requirements:
If the user is connected to Office 365 or Outlook.com, mail server requirements are all taken care of already. However, for users connected to on-premises installations of Exchange Server, the following requirements apply.+
The server must be Exchange 2013 or later.
Exchange Web Services (EWS) must be enabled and must be exposed to the internet. Many add-ins require EWS to function properly.
The server must have a valid authentication certificate in order for the server to issue valid identity tokens. New installations of Exchange server include a default authentication certificate. For more information, see Digital certificates and encryption in Exchange 2016 and Set-AuthConfig.
In order to access add-ins from the Office Store, the client access servers must be able to communicate with https://store.office.com.
:
Try to inspect the network traffic and see the actual request - there is more information about the error as this function is just a wrapper around the network request and does not give enough information.
I was receiving the same error and when checked the network request - discovered that I have to add one more application as a Pre-authorized application.

Dynamics CRM 2016 not tracking email replies

When a case is created, and emails are sent to the client, the mail syncs correctly between exchange/outlook, and CRM. However when a reply comes back from the client to the service representative, the mails are not automatically tracked as part of the original case that was set even though CRM reference details are present in the email subject line. The track number is correctly injected into the subject of the email and is still present when the client responds.
Our setup is as follow:
CRM : CRM 2016 on dedicated server (all roles)
Exchange : Exchange 2016 on dedicated server (all roles)
SQL : SQL Server 2014 ENT. With DB failover on dedicated server (all roles)
Exchange is configured as Internal Relay, and has outlook anywhere and active sync configured and externally facing. (no other protocols)
CRM mail is configured with Email Profile Authentication using an impersonation account to access and communicate with exchange.
Email accounts are processed using server side synchronisation. And users are using CRM for outlook.
Emails automatically appear in CRM, and can be tracked and set regarding. Appointments and tasks also sync as expected.
The following screen grabs summaries the settings
There are a couple of things that needs to be done here:
Under your Settings > Email, please make sure you add a bit more of digits to the incremental message counter, perhaps to 7.
Tick the box that says "Track emails sent between Dynamics 365 users"
NOTE
For the Emails to create activities in CRM there are a couple of things you need to make sure happens:
- The Customer should reply to a CRM Active Queue
AND
- The tracking subject "CRM:000001" needs to match

Adding Two accounts in outlook 2007 connected to exchange

I am trying to configure two accounts in Microsoft outlook 2007 connected to the same exchange server/same domain. First account is configured associated with the user but when I try to configure the second account it is giving an error :
unable to connect to IMAP server.
Can anyone assist me to how to configure the same or it is supported by Microsoft outlook 2007.
IMAP accounts are supported in Outlook 2007. The error message indicates a connection problem with the server, or incorrect configuration values. You must also ensure that IMAP connections are supported on your Exchange server.

How are emails sent via Workflows in Microsoft CRM 4.0

I'm Creating a workflow that needs to send the users an email on set events. This I don't have a problem with. However can someone please confirm if you need the local windows SMTP service installed or if I can use another method for it to send the emails.
UPDATE
Ok I've just read about the E-mail Router, just need to find out where it is, and how to get to the configuration settings.
UPDATE
Update 2
Right, Iv'e looked into it and the e-mail router configuration is not used on this CRM set-up, it used an Outlook Add-in which I cant find a lot of into on.
However it appears to work flawlessly.
end update 2
Thanks
AFAIK, Microsoft CRM uses Exchange server to send out emails. Haven't you configured this during setup?
You are right that the Email Router is the way to enable outbound emails from Dynamics CRM. If you haven't done so already, I strongly encourage you to download the Dynamics CRM Implementation Guide. You can jump right to the section called "Planning e-mail integration" to read about it.
What you need to do is configure the e-mail router to operate with a POP3/SMTP server. You can use Windows Server's SMTP service for that. You can use almost any service - i have configured it to work with my gmail account, for instance.
Here are three good articles that you can read to learn more about the e-mail router.
What's New in Microsoft Dynamics CRM 4.0 E-Mail Integration
Dynamics CRM 4.0 E-mail Integration Overview
Microsoft Dynamics CRM: How to configure the On-premise and Online E-mail Router in different deployment scenarios
Now when you configure an email from a workflow, CRM will automatically forward it out through the router to your SMTP email account.
It looks like there are at least two options, one which uses the SMTP or exchange. And another which is an outlook plugin. Which syncs the emails with the owners outlook and then sends out the emails.
EDIT
So the two options which both work are:
Email Router - This appears to be the standard and can use various email servers
Outlook add-in - This sends email based on the owner/email settings in the CRM record.
This works with any email CRM wants to send, and even works with workflows.
I've not got to the bottom of why the outlook add-in has been used at this site, however the workflow functions appear to run without problem, and seamlessly to the owner/user.
end edit

Resources