Autodiscover not available

  • 15 February 2022
  • 0 replies
  • 283 views

Userlevel 5
Badge +19
 

Autodiscover Not Available

kbt147454

PRODUCT
K2 Five
K2 blackpearl
TAGS
Email Event
Microsoft Exchange
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

'Send Email' steps are not sending emails and shows an error:
"SourceCode.Workflow.Common.EWS: Autodiscover not available and mail cannot be sent. Reconfigure K2 server with valid Exchange settings."

Symptoms

Errors on the host server logs show that the Exchange Server is throwing a 401 error:

 

  • "Error","General","0","ErrorMessage","SourceCode.Workflow.Common.EWS: ","0 Mail send failure: EWS URL is not valid. Verify the connection strings are correct. Exception: The request failed. The remote server returned an error: (401) Unauthorized." 
  • "Error","General","0","ErrorMessage","SourceCode.Workflow.Common.EWS: ","0 Autodiscover not available and mail cannot be sent. Reconfigure K2 server with valid Exchange settings." 
  • "Error","General","28083","ExtenderExecuteError","ProcessInstance.HandleException","28083 ServerEvent: SourceCode.Workflow.Common.EWS: Autodiscover not available and mail cannot be sent. Reconfigure K2 server with valid Exchange settings. InnerException: SourceCode.Workflow.Common.EWS: Autodiscover not available and mail cannot be sent. Reconfigure K2 server with valid Exchange settings."

Troubleshooting Steps

To resolve this issue, please ensure that the EWS connection strings are up to date.

- Please use the Connection String Editor (...K2Host ServerBinConnectionStringEditor.exe) to verify if the values are mapped correctly.

 

Any change made to the connection strings would need to be followed by a K2 service restart for the change to take effect.

0 replies

Be the first to reply!

Reply