79366318

Date: 2025-01-17 23:26:23
Score: 2.5
Natty:
Report link

I realized I was using the wrong endpoint to obtain a token for the Graph API. The endpoint I was using is intended for acquiring tokens for Delegated or Custom APIs that require a token to respond.

Below is the correct endpoint to obtain a token for the Graph API:
https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Muhammad Zeeshan