Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Dynamics NAV web services NTLM 401 error

(0) ShareShare
ReportReport
Posted on by 215

Hello, 

I'm using C# to create a record using NAV web services, it works fine on local box, and it works if I check NTLM in NAV administrator, by default it is not checked, and in a three tier system, I get a 401 unauthorized error when trying to create a record. I've tried to research into SPN, and delegation, but I don't know how to make it work? Has anyone ever encountered this?

thanks

*This post is locked for comments

  • Umer Draz sheikh Profile Picture
    Umer Draz sheikh 15 on at
    RE: Dynamics NAV web services NTLM 401 error

    How can i apply the inventitemdim for sale purc and inv using template?

  • Moon Profile Picture
    Moon 215 on at
    RE: Dynamics NAV web services NTLM 401 error

    thank you.

  • Moon Profile Picture
    Moon 215 on at
    RE: Dynamics NAV web services NTLM 401 error

    Thanks for the suggestion, it ended up being something we did to accommodate, I'll post the answer after I remember. Right now, I can't seem to dig up what I did to fix it. It was not the firewall though. Thanks for the help.

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Dynamics NAV web services NTLM 401 error

    Check this link

    www.lifewire.com/401-unauthorized-error-what-it-is-and-how-to-fix-it-2622934

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,585 on at
    RE: Dynamics NAV web services NTLM 401 error

    Is the service working if NTLM is set, but you are getting an error when it is not set? are you using default credentials in your c# code when you call the web service? if so you need make sure the service user has proper permissions set.

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: Dynamics NAV web services NTLM 401 error

    first check all firewall settings. the used web service port should be added.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans