azure-active-directorypostman

"AADSTS9002313: Invalid request. Request is malformed or invalid


I followed this microsoft document https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow.I tried too many times ,but i still encounter this error.Which step did I do wrong? enter image description here


Solution

  • Your link is invalid. According to the picture you provided, you should be using auth code flow. I am trying to reproduce your problem:

    enter image description here

    The reason for the error is that you have used the wrong code. Please check your code to make sure it is correct.

    enter image description here