Getting access token for microsoft graph using oauth rest api, part 1