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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

The Exchange Online Tenant ID for email server profile was changed

(1) ShareShare
ReportReport
Posted on by 352

Hi, I have enabled Server Side Synchronization between a CRM 2016 OnPremise and Exchange Online. The process finished with no errors and I was able to obtain the Exchange Tenant Id correctly when I created the Email Server Profile (Exchange Hybrid). However, when I run the test and activate process I am getting this error in the logs for all mailboxes.

ActivityId: xxxxxxxxxx
>Error : The Exchange Online Tenant ID for email server profile was changed. Go to the email server profile to update the Exchange Online Tenant ID.

I am pretty sure that value has not been changed in the Email Profile. As an additional information, I used an Office 365 admin account protected with two factor authentication.

I would appreciate any ideas about how to troubleshoot this issue.

Xavier

*This post is locked for comments

I have the same question (0)
  • Greg Belcham Profile Picture
    5 on at

    I have the same issue. Did you ever find a resolution?

  • Allie_B Profile Picture
    74 User Group Leader on at

    I had this issue, too configuring 2016 OnPremise CRM with Exchange Online. Did you find a resolution for this issue?

  • Xavier Villafuerte Profile Picture
    352 on at

    Hi Allison, I could not find the real cause but after applying the latest patches (version 8.2.x) at least the frequency of the message has decreased. We have not moved the customer to version 9.

  • Xavier Villafuerte Profile Picture
    352 on at

    Hi Greg, I have not found the real cause. Applying the latest patches have decreased the frequency. Customer is still on version 8.2.x

  • Suggested answer
    Pieter VdB Profile Picture
    35 on at

    I've had this issue too today, but I found a resolution. These are the steps I did:

    1. Open the Email Server Profile and set the 'Auto Discover Server Location' field to 'No'. The 'Server Location' field should then be automatically populated with "https://outlook.office365.com/EWS/Exchange.asmx".
    2. Press the "Test Connection" button at the top of the Email Server Profile. This provided me with this error: "Aquiring Token from ACS has failed. Please check if your tenantId is specified correctly in your Email Server Profile, and make sure your Exchange and CRM are under the same tenant." Searching for this error, I found this thread, which told me that the problem is the fact that the user that is running the Asynchronous Processing Service does not have 'Read' permissions on the private key of our encryption certificate.
    3. Open up the Certificates module of MMC on the CRM Server, find your certificate in the Personal folder, right-click it, press "Manage Private Keys", and then add the user running the Asynchronous Processing Service and give it 'Read' permissions.

    This solved it for me. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans