Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

401 Unauthorized in Postman while using OData URL

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

  • 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,590 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans