Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

NTLM Auth failed: 401 Error: HTTP/1.1 401 Unauthorized



NTLMv2 authentication fails when using Connect-SOAP to invoke an Exchange Webservice.

Error Messages

2015-12-01 21:44:29,990 [http-apr-8718-exec-6] [  STANDARD] [ ] [   Employee:01.01.01] (ngineinterface.service.HttpAPI) ERROR localhost| your_op@org - PRRuntimeError
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(
Caused by: SOAP service failed
at com.pegarules.generated.activity.ra_action_invokeaxis2_e0a499f26a95053ac6300b525bd7d41f.step15_circum0(
at com.pegarules.generated.activity.ra_action_invokeaxis2_e0a499f26a95053ac6300b525bd7d41f.perform(
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(
... 45 more
Caused by: com.pega.apache.axis2.AxisFault: Transport error: 401 Error: HTTP/1.1 401 Unauthorized
at com.pega.apache.axis2.transport.http.ComponentsHTTPSender.handleResponse(
at com.pega.apache.axis2.transport.http.ComponentsHTTPSender.doSend(

Steps to Reproduce

  1. Configure NTLMv2 authentication for your webservice
  2. Invoke Connect-SOAP to connect to Exchange web service with Authentication profile set up for NTLM

Root Cause

A defect or configuration issue in the operating environment. The machine hosting Pega 7 from where the Connect-SOAP calls were being made was in a different domain from the exchange webservice.


Make the following change to the operating environment: Configure the machine hosting Pega 7 from where the Connect-SOAP calls are being made in the same domain as the Exchange webservice. 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us