Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

The Exchange Online Tenant ID for email server profile was changed

(1) ShareShare
ReportReport
Posted on by 350

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

  • Suggested answer
    Pieter VdB Profile Picture
    Pieter VdB 35 on at
    RE: The Exchange Online Tenant ID for email server profile was changed

    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. 

  • Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: The Exchange Online Tenant ID for email server profile was changed

    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

  • Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: The Exchange Online Tenant ID for email server profile was changed

    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.

  • Allie_B Profile Picture
    Allie_B 69 User Group Leader on at
    RE: The Exchange Online Tenant ID for email server profile was changed

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

  • Greg Belcham Profile Picture
    Greg Belcham 5 on at
    RE: The Exchange Online Tenant ID for email server profile was changed

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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans