Skip to main content

Notifications

Announcements

No record found.

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

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans