For this kind of issue , as @RasmusW suggested , you could use a tool like Fiddler to find the inner error message in the response . And as @ Dan Kershaw pointed out , you need to make sure reply address url in token request should match the reply address in Authorization code request . Otherwise you will get the error : The reply address 'xxxxx' does not match the reply address 'xxxx' provided when requesting Authorization code.
According to your request , you are using the Authorization Code Flow with v2.0 endpoint . You must add a “grant_type” parameter in the token request , and the value must be “authorization_code” for the authorization code flow. Please check it first if the inner error message is “AADSTS90014: The request body must contain the following parameter: 'grant_type” . Please click here for more details about OAuth 2.0 Authorization Code Flow in v2.0 endpoint.
May i use personal Microsoft account with Microsoft Graph API
Yes .The v2.0 endpoint allow developers to write apps that accept sign-in from both Microsoft Accounts and Azure AD accounts, using a single auth endpoint.