I have been trying to follow this page v2-oauth2-auth-code-flow using the Postman collection linked at the start of the page.
I am able to receive an authorization code from the api, but when attempting to get a token I receive the error: "AADSTS900144: The request body must contain the following parameter: 'grant_type'."
Other answers seem to point to this error being causes by either using json instead of urlencoding, or the 'grant_type' parameter being placed in the header instead of the body, but as far I can tell it is correct and placed in the body. I presume that this is formatted correctly since the collection is coming from Microsoft, is there any configuration I need to do in Postman beforehand or something else that seems off?