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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Missing Credentials area when creating Email Server Profile

(0) ShareShare
ReportReport
Posted on by 45

I'm trying to create an Exchange Online Hybrid email server profile for the configuration of server-side synchronization for CRM on-premise to Exchange Online.

The credentials area where I would fill in the "Authentication Using Impersonation" is missing. This screenshot shows what I'm referring to:

pastedimage1668451434091v1.png

Any ideas?

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Can you please provide a screenshot of how it looks from your side?

  • charlesetii Profile Picture
    45 on at

    Andrew,

    Here is what mine looks like:

    NoCredentials.png

  • charlesetii Profile Picture
    45 on at

    Out of curiosity, I decided to try using Exchange Online instead of Exchange Online Hybrid as my choice when creating a server profile and credentials section shows up just fine on this one:

    WithCredentials.png

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
  • charlesetii Profile Picture
    45 on at

    I actually have this article already, but haven't tried it because there were multiple ways to enable SSL to allow the ability to use the credentials field and using the other method is why I didn't think I needed to try this one.  I enabled SSL successfully using this article:

    mahenderpal.wordpress.com/.../

    I figured these were two separate issues because in my case, the credentials area doesn't even show at all, but if you feel it's still related and could work I'm willing to try it...your thoughts?

  • charlesetii Profile Picture
    45 on at

    I tried the option of enabling via MSCRM_CONFIG database as the article described and it still doesn't show up when I attempt to create an Email Server Profile using Hybrid option.

    I also tried logging into CRM using both http and https and it doesn't make a difference.  Any other ideas I could try?

  • Suggested answer
    charlesetii Profile Picture
    45 on at

    I opened a support case with Microsoft and found that the Email Server Profile (Hybrid) doesn't have a Credentials area by design.  Not sure why this was a thing with others, but we're using Dynamics 365 CRM 2016 on-premises with Exchange Online and it's not required.

    After figuring out some other items that needed to be done, we got it working successfully.  Hope this helps someone else, thanks

  • John Breto Profile Picture
    35 on at

    Hi Angel, I have the same configuration as you but the mailboxes are returning an error.

    Error : System.Net.WebException: Error de la solicitud con el código de estado HTTP 401: .

      en System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

      en System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)

      en Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceBinding.EndCreateItem(IAsyncResult asyncResult)

      en Microsoft.Crm.Asynchronous.EmailConnector.ExchangeOutgoingEmailProvider.EndCreateItem()

    What do you suggest I should check either in CRM and/or Exchange online?

    I would really appreciate your help.

  • GrzegorzIS Profile Picture
    25 on at

    Hello,

    You can't connect to Exchange through EWS because Microsoft disabled this function (yesterday in my tenant).

    If you have CRM 365 (8.2), then you can use guide from this link:

    global.hitachi-solutions.com/.../

    We just did it using this instruction.

    We had to edit ConfigureCrmServerSideSync.ps1, you can try it if it won't work.

    You have to replace lines 115 and 116:

    $msolcred = Get-Credential $o365AdminEmail -Message "Enter the credentials for your organization's Office 365 subscription"

    Connect-Msolservice -credential $msolcred

    with this:

    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

    Connect-MsolService

    It enables Tls12 for this Powershell session and login to o365 with modern authentication.

    If everything will be all right, then result will be:

    pastedimage1674139011575v1.png

    After configuration of certificate you need to add permision to certificate private key for service account that run your Asynchronous Processing Service and crm app pool

  • John Breto Profile Picture
    35 on at

    Hi GrzegorzIS

    We have followed all the steps in the link you suggest, besides editing the ConfigureCrmServerSideSync.ps1. It should be noted that we have CRM 2016 local V.8.2(2.1.176).

    However when we run the server profile test in CRM we keep getting this error:

    *********************

    365 message::

    *********************

    Error acquiring ACS token. Check if your tenantId has been specified correctly in the email server profile, and make sure that Exchange and CRM are in the same tenant

    *****************************

    Request to Exchange::

    *****************************

    <Trace Tag="EwsRequestHttpHeaders" Tid="33" Time="2023-01-19 17:08:13Z">

    POST / HTTP/1.1

    Content-Type: text/xml; charset=utf-8

    Accept: text/xml

    User-Agent: ExchangeServicesClient/15.00.1076.004

    Accept-Encoding: gzip,deflate

    previously assigned read permissions to the user of the asynchronous synchronization service on the certificate.

    The following question arises. Do we have to have a SSL Payment Certificate?

    We welcome any suggestions you may have.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
11manish Profile Picture

11manish 121

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans