Requirement to Integrate Office 365 Calendar through AEM



I have a requirement in a project where I need to set up an outlook calendar of the user through AEM form submission. The requirement is to add the event in the user's calendar and not to send as Outlook file, also if the user denies the event, I should be syncing the data in AEM user-generated node or DB. Does anyone has used any APIs to achieve the same functionality?