Hi Alekhya Bojja,
Thank you for reaching out to Microsoft Support!
It sounds like you're having trouble generating an authorization code for your Microsoft Entra ID registered app using Postman.
From your description, it seems like you've set up everything correctly, but you're still getting an HTML response instead of the authorization code. Here are a few things you might want to check:
Ensure Correct Grant Type: Make sure that the grant type is set to Authorization Code
in Postman. This is crucial for delegated permissions.
Check Redirect URI: Verify that the redirect URI you have specified in Postman matches exactly with the one registered in your Microsoft Entra ID app. Any mismatch can cause issues.
- Scope and Consent: Ensure that the scope you are requesting includes all the necessary permissions. Sometimes, if the scope is not correctly specified, the consent screen might not appear.
Please refer to below documentations to configure postman correctly. Follow all the steps provided in the documentations.
https://learn.microsoft.com/en-us/graph/use-postman
After following the above documentation, refer to this documentation to use delegated authentication with postman.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.