Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

401 Unauthorized in Postman while using OData URL

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I am using the username and web service access key for authenticate in the postman but i was getting the 401 error.

I also tried both the authentication type i.e Basic and NTLM.

Could you please help me how to try this in postman because it worked for me in chrome fine but in postman it's not working.

Thanks,

Vaibhav

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: 401 Unauthorized in Postman while using OData URL

    Hi Gusti Made Ari Permadi,

    I did the same but it is not work for me.

  • Suggested answer
    I Gusti Made Ari Profile Picture
    I Gusti Made Ari 3,594 on at
    RE: 401 Unauthorized in Postman while using OData URL

    It depends on which Credential Type you are using on your NAV Service , if you are using NavUserPassword Authentication, you need to use Basic authentication , with format Basic username:password ( where password is the web service key and username:password need to be  in Base64 Encode) .

    If your NAV Service using Windows Authentication , you need to use NTLM authentication  , where username is your Windows Login username and password is your Windows Login Password

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans