Hit API Endpoint of Registered Azure App using Postman: Getting Sign in to Your Account response

Andre 45 Reputation points
2023-07-12T16:15:45.97+00:00

NOT THE RIGHT TAG. I just couldn't find the best tag. Sorry about that.

I followed the steps in this blog post in order to be able to use Postman with my app. My app is registered in the App Registrations area in Azure. As the post says, I registered Postman as an app. I went through the steps to get an access token and used it to make a call to the endpoint. However, the blow picture shows you there response I get back. However, when I add it to the address bar in my browser, I get the expected response back. Why can't I do it in Postman?

badresposne

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,286 questions
{count} votes

Accepted answer
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,496 Reputation points
    2023-08-02T01:44:51.6666667+00:00

    Hello @Andre , if you're succesfuly getting the Azure AD login page in postman but the expected response in the browser it signals there's something wrong with the postman configuration. Ensure postman configuration aligns with current OAuth2 documention. Eg. Callback URL is set to https://oauth.pstmn.io/v1/browser-callback and not to https://oauth.pstmn.io/v1/callback as the the blog post states.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.