web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Server-side Synchronisation and Office 365

(0) ShareShare
ReportReport
Posted on by 80

Hello,

We have a couple of thousands licenses of Office 365 in our company and 25 trial licenses for CRM Online.
However, sending mails with CRM Online and Server-Side Synchronization is not working.

I've spend three hours with a CRM technician on the phone. He even took over my screen to have a look but he has no idea why it is not working.

Error:

The mailbox location could not be determined while sending the email message "Test Message". The mailbox xxx has been disabled for sending email and the owner of the associated email server profile Microsoft Exchange Online has been notified.

The only thing he could tell is that it is due to the Autodiscover feature and that I have to configure Autodiscover.
There is no such option in Exchange Online profile in CRM.
I followed this guide: http://support.microsoft.com/en-us/kb/2972143

Does anybody on this planet have an idea how to solve this issue?

It is seriously getting on my nerves.

btw...
No Outlook here and no Exchange.
Only Office 365 and CRM Online.

Thank you

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aldo Macedo Profile Picture
    on at

    Hello Dinci5

    This is happening because you are trying to configure unsupported scenario for CRM Online and Server Side Synchronization

    technet.microsoft.com/.../dn531050.aspx

    CRM Online Server Side Synchronization can be configured for Exchange Online or Pop/smtp (Gmail and Yahoo)

    CRM deployment

    Email system

    Email synchronization

    Appointments, contacts, and tasks synchronization

    Protocol

    CRM (on-premises)

      • Exchange Server 2010
      • Exchange Server 2013

    Yes

    Yes

    Exchange Web Services

    CRM (on-premises)

      • Gmail
      • Yahoo! Mail
      • MSN1
      • Outlook.com 1
      • Windows Live Mail 1

    Yes

    No

    POP3/SMTP

    Microsoft Dynamics CRM Online

    Exchange Online

    Yes

    Yes

    Exchange Web Services

    Microsoft Dynamics CRM Online

      • Gmail
      • Yahoo! Mail

    Yes

    No

    POP3/SMTP

    If you want to use email feature in CRM Online I suggest you to configure Gmail or Yahoo for pop/smtp or use CRM Outlook to connect to O365 accounts and as last resource use Email Router configuration.

    If you are using CRM Online trial with 25 licenses you could also use E3 trial that contains Exchange trial licenses so you could configure and do testing in your environment, this trial can be activated for 30 days inside O365 portal purchase menu.

    Also it is important to know unsupported scenarios:

    Using Exchange Online with CRM Online

    ________________________________________

    If your company is using Exchange Online with CRM Online, note the following:

    CRM Online supports server-side synchronization with Exchange Online in the same tenant in Office 365 with Server to Server Authentication. Other authentication methods or settings are not recommended or supported, including:

    • Using credentials specified by a user or queue

    • Using credentials specified in an email server profile

    • Using Impersonation

    • Setting Auto Discover Server Location to No

    • Using an email server profile other than Microsoft Exchange Online

    • Using non-default network ports

    Connecting CRM Online with Exchange Online in different tenant is not supported.

    Unsupported email service configurations

    ________________________________________

    Server-side synchronization doesn’t support the following scenarios:

    • Hybrid deployments:

    o CRM Online with Exchange (on-premises)

    o Microsoft Dynamics CRM (on-premises) with Exchange Online

    • Mix of Exchange/SMTP and POP3/Exchange

    • Creation of mass email marketing campaigns

    • Extensibility scenarios like extending EWS/POP3/SMTP protocols and creating custom email providers

    • Exchange Server 2003 and Exchange Server 2007

    • Server-side synchronization in CRM Online, or in a Microsoft Dynamics CRM (on premises) deployment that is configured for FIPS 140-2 compliancy, requires a POP3/SMTP email server that is also FIPS 140-2 compliant. Some email servers are not FIPS 140-2 compliant, such as MSN, Outlook.com, or Windows Live Mail.

    Best regards,

  • dinci5 Profile Picture
    80 on at

    Dear,

    We are using Office 365 with E3 licenses (Exchange Online).

    According to that table you've posted this is a supported scenario.

    According to CRM Support where I was for a couple of hours on the phone with, this is a supported scenario.

  • Suggested answer
    Aldo Macedo Profile Picture
    on at

    Hello Dinci5,

    I am so sorry, I got confused because of “No Outlook here and no Exchange.
    Only Office 365 and CRM Online” on your question understanding that you were using Outlook OWA service.

    You could try following the next steps to find possible causes that are generating the incident:

    • Add to trusted sites in IE https://*.dynamics.com https://*.onmicrosoft.com urls

    • Verify that you don’t have proxy or firewall blocking with fiddler http://www.telerik.com/fiddler

    • Configure email router in your computer to verify if you can obtain more information of what and where is the incident allocated (Exchange or CRM) Logs for email router are located in C:\Program Files\Microsoft CRM Email\Service Microsoft.Crm.Tools.EmailAgent.SystemState

    • If you have different domain as .onmicrosoft.com verify that this is the extension in your users for CRM or use credentials when configured.

    • Approve mailboxes in CRM with O365 admin and then test and enable mailboxes

    • Turn on warnings in mailbox configuration to verify if more information can be obtained

    • Set autodiscovery to no and test with https://outlook.office365.com/EWS/Exchange.asmx for incoming and outgoing (you will need to check no option when form is loading to activate this option) If this works indicate this to support engineer.

    • If you use AD or security groups in O365 verify that connections are unlocked.

      I hope this information can help you to allocate incident or solve it.

      Best regards,

  • dinci5 Profile Picture
    80 on at

    I managed to solve this problem.

    This guide is correct: https://support.microsoft.com/en-us/kb/2972143

    However, when you open the e-mail server profile the Autodiscover option appears very briefly.

    Actually, you have less than a second to select No for Autodiscover.

    After a couple of tries I managed to click on it and than the options were stuck and I was able to change it.

    I then disabled Autodiscover and put the Incoming and Outgoing mailservers in manually.
    This solved my problem.

    Conclusion: A bug in the settings of the CRM e-mail server profiles makes it very difficult to find the cause and the solution.

  • Community Member Profile Picture
    on at

    Thanks a lot for the article. Been struggling with this issue for some time now.

    I had to enter the Developer Tools in IE in order to run some JS commands so that I can make the three fields visible and also editable. Microsoft forgot to load the jQuery library on the form. That is the reason of the errors on the page. That's probably why the fields disappear.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans