Hi @Aliraza HN
For fetch/create/update events, it is recommended that you use the Graph API, which provides an endpoint for each function, see the link for details:
https://learn.microsoft.com/en-us/graph/api/user-list-events?view=graph-rest-1.0&tabs=http
https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http
https://learn.microsoft.com/en-us/graph/api/event-update?view=graph-rest-1.0&tabs=http
Importantly, to access the Graph API, you need to first register your app in Azure and then get an access token.
There are two recommended ways to obtain the access token. One is to use Auth code flow, which requires the user to log in interactively and grant corresponding delegated permissions. For details, see this case.
The other option is to use Client credentials flow. This mode does not require user participation, but requires the administrator to grant corresponding application permissions. For details, see Example.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.