I have to create an calendar event in Outlook 365 from SharePoint Online. I know that I can achieve this using https://graph.microsoft.com/v1.0/me/events
call in Microsoft Graph API.
The only problem I am facing is in authentication. Can I use the token from SharePoint Online and authenticate Outlook 365 and create an event there? If yes, then how can I get that token and use that for authenticating outlook 365 for Microsoft Graph API?
I don't want any more sign in window to authenticate.
Any suggestions are most welcome.