Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Consume web service ax 2012

Posted on by Microsoft Employee

Hello DAX people,

I have created an OData Query service, I get the response when I select the URL in the navigator after an authentication popup. But when I created a GET request in Postman with the same URL, I got a 401 unauthorized, even when I put a user and a password and Basic Auth type for the authorization. Am I missing something? 

I appreciate any suggestions to help me resolve this issue.

Thanks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Consume web service ax 2012

    Hi Gunjan Bhattacharyya,

    Thank you for your answer, I got it working with Fiddler, but is there any other way to make it work without running Fiddler?

    God bless you

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Consume web service ax 2012

    Hi Nesrine,

    The only way I could get this working with Postman is to use Fiddler as a web debugging proxy. Although, Postman has included a Beta feature for NTLM (Windows Authentication), I wasn't able to get it working

    Here are the steps you need to follow -

    1. Install and run fiddler.

    2. Under Rules, choose "Automatically Authenticate".

    pastedimage1597180924773v1.png

    3. Run the GET request from Postman with Authorization set to "No Auth". This will let Fiddler take care of the authentication.

    pastedimage1597181031955v2.png

  • Suggested answer
    Mav Profile Picture
    Mav on at
    RE: Consume web service ax 2012

    Hi Nersine Labidi,

    Try this 

    I am asuuming this is for D355F&O, if so then inform moderator to move to D365 Finops forum.

    Please mark verified if it resolved your issue & help others.

    Thanks

    Mav.

  • udaY-ch Profile Picture
    udaY-ch 4,624 on at
    RE: Consume web service ax 2012

    Hi,

    Can you share your code and have you specified the domain name with the userId?

    Domain/user.

    Uday

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans