locked
CRM E-mail Router 401: Unauthorized. RRS feed

  • Question

  • Hi, i am using CRM workflow for sending emails.

    I am using E-mail Router but when i do Test Access it gives me an error..

    I took the https://testoutlook.com/EWS/Exchange.asmx Availability Service  URL from the outlook.

    MY Setting Are

    E-mail Server Type :Exchange Online

    Protocol : Exchange Web Services

    Authentication type : Clear Text
    Exchange Web Service URL : https://test.outlook.com/EWS/Exchange.asmx
    Access credentials :other Specified 
    User Name :
    password : 

    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: Outgoing Status: Failure - An error occurred while checking the connection to e-mail server. The request failed with HTTP status 401: Unauthorized.

    Any solution plz help..

    Wednesday, December 19, 2012 10:23 AM

Answers

  • Hi,

    U need to update ur CRM to Rollup 7 i guess, Please go through the below blog which gives u the ellborated explaination about ur problem and the soultion

    http://www.powerobjects.com/blog/2012/05/04/microsoft-dynamics-crm-2011-office365-and-email-router-settings/

    • Edited by Nandan21 Thursday, December 20, 2012 5:07 AM
    • Marked as answer by Rimple christian Thursday, December 20, 2012 8:21 AM
    Thursday, December 20, 2012 5:05 AM

All replies

  • Hi,

    See this article of microsoft http://technet.microsoft.com/en-us/library/ee694774.aspx, i think that have a solution for your problem.

    Hope this helps.
    If i answered your question, please mark the response as an answer and also vote as helpful.



    Pedro Azevedo Crm Specialist 4.0\2011

    Wednesday, December 19, 2012 10:29 AM
  • Hi Rimple,

    Can u please give the snap shot of ur prfiles created in Email Router, so that i can help u out

    Wednesday, December 19, 2012 11:02 AM
  • incoming deployment
    Thursday, December 20, 2012 4:46 AM
  • outgoing
    Thursday, December 20, 2012 4:48 AM
  • hi, Thanx for your reply......

    This are my screen shots...

    plz let me know where I am wrong in this......

    Thursday, December 20, 2012 4:49 AM
  • Hi,

    In ur Incoming profile goto advance tab and can u check which port number is been used

    Thursday, December 20, 2012 4:49 AM
  • hey this are my credentials...

    Network Port : 80
    Connection Timeout :300
    Maximum Messages per Cycle : 100
    polling period: 120
    Messages Expiration : 86400

    Thursday, December 20, 2012 4:52 AM
  • Hi Cna u change the port number to 25 and give a try
    Thursday, December 20, 2012 4:55 AM
  • hi, I tried that but same error is coming :

     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.  :( 

    Thursday, December 20, 2012 5:02 AM
  • Hi,

    U need to update ur CRM to Rollup 7 i guess, Please go through the below blog which gives u the ellborated explaination about ur problem and the soultion

    http://www.powerobjects.com/blog/2012/05/04/microsoft-dynamics-crm-2011-office365-and-email-router-settings/

    • Edited by Nandan21 Thursday, December 20, 2012 5:07 AM
    • Marked as answer by Rimple christian Thursday, December 20, 2012 8:21 AM
    Thursday, December 20, 2012 5:05 AM
  • hi,  Thanx ....

    For updating the Roll Up 7..

    1) CRM2011-Client-KB2600643-ENU-amd64 

    2) CRM2011-Mui-KB2600643-ENU-amd64

    3) CRM2011-Router-KB2600643-ENU-amd64

    4) CRM2011-Server-KB2600643-ENU-amd64

    5) CRM2011-Srs-KB2600643-ENU-amd64

    I install all this for crm Update...

    But it does not work...

    Thursday, December 20, 2012 5:46 AM
  • Hi,

    Follow the blog completely , they have mentioned about some patch also , coz i dnt have much idea about patch. Complete the whole step restart ur server and the try to test in Email router.

    If its helpful please "Mark as Answer"

    Thursday, December 20, 2012 5:54 AM
  • hi, i have one question . 

    If I do the E- Router configuration on the server directly than all the Configuration will be same..as we do for the particular Pc.

    Thanx for you help.. and instant Replys...

    Thursday, December 20, 2012 6:14 AM
  • Yes the configuration would remain the same

    Thanks

    Nandan

    If its helpful please "Mark as Answer"

    Thursday, December 20, 2012 6:19 AM
  • Hi,

    Thanxxxxxxxxxxxx a Lot...

    I was using crm 11 so i Update the Rollup 11 version and it works for me............ :) 

    Thursday, December 20, 2012 8:23 AM
  • GR888 Enjoy
    Thursday, December 20, 2012 10:01 AM