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)

Email Server Error Code: Http server returned 401 Unauthorized exception

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

I am trying to do Email Configuration in Dynamics 365.

For that I go to Settings --> Email Configuration --> Mail boxes --> Approve Email --> Test & Enable Mail boxes.

In this process Server profile is "Microsoft Exchange Online".

I am getting following two errors

Email cannot be received for the mailbox <Name>. Make sure that the credentials specified in the mailbox are correct and have sufficient permissions for receiving email. Then, enable the mailbox for email processing.

Email Server Error Code: Http server returned 401 Unauthorized exception

 

The email message "Test Message" cannot be sent. Make sure that the credentials specified in the mailbox <Name >are correct and have sufficient permissions for sending email. Then, enable the mailbox for email processing.

Email Server Error Code: Http server returned 401 Unauthorized exception.

How to solve this issue.?

Thanks

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    Hi

    Are you integrating Dynamics 365 online with Exchange Server Online?

    Do you ha e access to manage the Exchange server?

  • Chris H @ ISC Profile Picture
    2 on at

    In addition to Gopalan's questions, are you also an Office 365 global admin, not just a Dynamics 365 admin?  Approving mailboxes for server side sync requires that O365 admin level.

  • Community Member Profile Picture
    on at

    Yes and I have access to manage exchange server.

    Thanks for quick response.

  • Community Member Profile Picture
    on at

    Yes, I am global admin user.

  • Gopalan Bhuvanesh Profile Picture
    11,401 on at

    Hi

    In free trial You are given Plan 1.

    In plan 1 there is no Exchange Online included.

    Dynamics 365 online and Exchange online should be in the same tenant.

    I am not sure, if you would be able to add Exchange server to the same Tenant if you go for Office 365 trial.

  • Community Member Profile Picture
    on at

    I have free and paid both instance with global user and facing same issue in both.

    please suggest me solution.

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    Exchange Online and Dynamics 365 online are in the same tenant?

    If they are in different tenant, you cannot integrate.

  • Community Member Profile Picture
    on at

    I have not created Exchange Online separately, it is already included as default in my crm instance.

    Does I need to do any steps for Exchange Online create/configuraion?

    If no need to do. then both having same tenant/user.

  • Community Member Profile Picture
    on at

    I am facing below errors, after doing Test & Enable Mail Box(same behavior found in both account/instance)

    1. Email cannot be received for the mailbox krutesh amin. Make sure that the credentials specified in the mailbox are correct and have sufficient permissions for receiving email. Then, enable the mailbox for email processing.

    Email Server Error Code: Http server returned 401 Unauthorized exception

    2. The email message "Test Message" cannot be sent. Make sure that the credentials specified in the mailbox krutesh amin are correct and have sufficient permissions for sending email. Then, enable the mailbox for email processing.

    Email Server Error Code: Http server returned 401 Unauthorized exception

  • Community Member Profile Picture
    on at

    drive.google.com/open

    Please check above link for my subscription image, do I need to add other subscription for email?

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