When the scopes laid out in this ask for span several useful resource server, then the Microsoft identity platform returns a token for that useful resource specified in the primary scope. For more information, see Permissions and consent while in the Microsoft id System.OAuth2 Authorization code was now redeemed, please retry using a new valid code