We have a CRM 2011 onsite deployment (rollup 6) we're trying to connect to Office 365 with the Email Router using the ExchangeOnline option for the server type.
I've pored over all the documentation and as best I can tell we've configured everything correctly but we still get a connection error. We have an account with administrative permissions on all accounts, using the correct service URL (https://podxxxxx.outlook.com/ews/exchange.asmx),
etc and hitting the test access gives this:
Name: XXXXXXXXX
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.
Server: https://podxxxxx.outlook.com/ews/exchange.asmx (xxxxx@xxxxxx.com)
Outgoing Status: Failure - An error occurred while checking the connection to e-mail server https://podxxxxx.outlook.com/ews/exchange.asmx. The request failed with HTTP status 401: Unauthorized.
We've gone over all forum posts related to this that we could find over at Office 365 and here at the MS forums, we've tried different service URLs, manually logging in with the Exchange admin account works, manually logging in at the service URL in a browser
works, tried using SMTP which does work but unfortunately is not what the client prefers, and we're at a loss.
Any help or input would be appreciated.