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

Webservices Authenitcation from a Remote IIS Server

(0) ShareShare
ReportReport
Posted on by

Hey Everyone,

I am receiving the error "The HTTP request was forbidden with client authentication scheme 'Negotiate'." when I try to connect to retrieve information from my webservice.

The web application that runs on a different server than my NAV Server. The application is using Windows Authenication and Impersonation. 

Everything works fine when I set the Impersonation to a static user in IIS so I assume I am running into a server hopping issue.

Any Ideas how to get this to work?

Thank you for your time,

Jake

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    keoma Profile Picture
    32,729 on at

    check if the authentication mode is set to windows.

  • Community Member Profile Picture
    on at

    The service is set to windows:

     <binding name="Customer_Card_Web_Binding">

             <security mode="TransportCredentialOnly">

               <transport clientCredentialType="Windows" />

             </security>          

     </binding>

    and the app is set to windows:

     <authentication mode="Windows"/>

     <identity impersonate="true"/>

       <authorization>

             <allow users="*"/>

             <deny users="?"/>

        </authorization>

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    seems that the user connecting to nav has not the appropriate rights.

    are the 2 servers within the same AD ? if not your solution is the only way.

    is the user calling the web service a nav user ?

    check the iis log and the windows event log (eventviewer).

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    Is your two servers are in the same domain?

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans