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)

CRM Online and Office 365 Email Router problem (401 error)

(0) ShareShare
ReportReport
Posted on by 105

Hi Guys,

Hi Guys,

I'm having issues configuring the E-mail Router for CRM Online 2011 with Office 365.

Outgoing is all fine as I'm using an internal SMTP relay to complete this.

The issue I'm having is INCOMING email.

I receive the following error when I run the 'Test Access'

Incoming Status: Failure - The remote Microsoft Exchange e-mail server returned the error "(401) Unauthorized". Verify that you have permission to connect to the mailbox. The request failed with HTTP status 401: Unauthorized

The user to connect to the mailboxes does have full access rights and send as rights and this has been confirmed with powershell and using Outlook with all mailboxes added.

Has anyone got any ideas what is going on?

Thanks

Mike

*This post is locked for comments

I have the same question (0)
  • Gus Gonzalez Profile Picture
    27,113 on at

    Mike,

    Has the user being tested accepted Email Router access to his/her inbox?

    If not, can you configure this from the user's personal options -> Email Tab and try again?

  • Michael Hammons Profile Picture
    on at

    I have the same issue.

    Gus, I'm not clear on what you mean "Has the user being tested accepted Email Router access to his/her inbox?"

    I'm using the Office 365 admin for the email and for access rights. I don't see any messages asking for accepting Email Router access for the admin user or any other user that I give the admin access to their email box.

  • Rimple Christian Profile Picture
    645 on at

    hi, I am having the same issue ...

    While using E-mail Router  Configuration in the CRM.

    I am using Availability Service URL : test.com/.../Exchange.asmx in the Incoming and outgoing  E-mail Router  Configuration...

    while testing with the Test Access... it gives me an Error :

    Server: Outgoing Status: Failure - An error occurred while checking the connection to e-mail server. The request failed with HTTP status 401: Unauthorized.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hello,

    Verify the following settings which should resolve your issue :

    1.Before you click Test Access, make sure that the user has logged on to the mailbox so that the mailbox is activated.

    2.Make sure that you can receive e-mail messages in the mailbox.

    3.In the Location section of the E-mail Router Configuration Profile dialog box, verify that the correct URL of the Exchange Server is entered. For example:

    â—¦http://myexchangeserver

    â—¦www.myexchangeserver.local

    Important: Do not enter any additional characters at the end of the URL string, such as /OWA or /Exchange or even a / character. If you are using SSL, be sure to use https in the URL instead of http.

    4.Verify the settings in the Access Credentials section of the E-mail Router Configuration Manager incoming profile dialog box:â—¦Make sure that the specified user has full access rights to the mailboxes that this incoming profile will serve. To test this, log on to the computer that is running the E-mail Router by using the specified access credentials, or in Internet Explorer, try to access the Outlook Web Access URL of the user that you are testing (for example, http://exchangeserver/Exchange/crmuser).

    For instructions about how to grant this access in Exchange Server 2003, see TechNet article How to Give a User Full Access to Another User's Mailbox.

    For instructions about granting this access in Exchange Server 2007, see TechNet article Add-MailboxPermission.

    â—¦If you have selected the User Specified option in the Access Credentials drop-down list, make sure that the users whose mailboxes this profile will serve have set their user name and password in the Set Personal Options dialog box (available in the Workplace section of the Web application). This enables the E-mail Router to access mailboxes by using each user's access credentials.

    Note: The User Specified option is intended for use in scenarios where the E-mail Router is configured to monitor user mailboxes, instead of a forward mailbox. This option is available only in the On-Premise version of the product.

    Refer : msdn.microsoft.com/.../ee694774.aspx

    Thank You.

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