Getting error while get access token?

Ronak Bhatti 1 Reputation point

I am trying to get access token for outlook calendar api using "" api but, i am getting the error.
see the screen shot :

You can download our postman colleftion through this link :

can you help us to get access token? and can you provide outlook calendar api to us?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,844 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 37,786 Reputation points

    Hi @Ronak Bhatti

    From the screenshot of your postman there is an obvious error, you should put the client secret value instead of the client secret ID in the client_secret parameter.


    After you get the access token correctly, you will be able to use it to call the calendar api.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.