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 AX (Archived)

System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate,NTLM'. ---> System.Net.WebException

(0) ShareShare
ReportReport
Posted on by 555

Dear Experts,

I am trying to integrate between AX and dotnet. I have created AX web service(inbound process) through AIF and hosted it in IIS. I got a wsdl url which is working fine in both( One in which AX is running and other machine where .Net project is running) systems . In .Net, I have created an Empty web application with web service and added service reference with the "wsdl"Link which was generated from AX. In .Net when I am accessing their service method and passing the parameter value , it is throwing Below Error:

System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate,NTLM'

It would be great if i get guideline to solve the client authentication problem asap.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,805 Most Valuable Professional on at

    The message means that your application isn't configured for, or can't use NTLM authentication for some reason. Review the client WCF configuration, e.g. that clientCredentialType="Windows", and if it doesn't help, look for additional advices on internet. This is indeed about WCF and not anything specific to Dynamics AX.

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans