1

Actually when I log in to the Microsoft online login with this API https://login.microsoftonline.com/{tanent_id}/oauth2/v2.0/token and use the token response into this API headers https://graph.microsoft.com/v1.0/me/events to add an event into the outlook calendar then I found this kind of error.

enter image description here

Is this a token error? Or How to solve it? I am working on a React JS app to integrate outlook calendar.

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
Abhimanyu
  • 26
  • 3

1 Answers1

0

Have you license the user for Exchange Online/provision a mailbox? This endpoint corresponds to calendar events, and in order to fetch those you need to have a mailbox.

blackgreen
  • 34,072
  • 23
  • 111
  • 129
vicky kumar
  • 563
  • 3
  • 11