Create Outlook Calendar Entry using REST API

Has anyone created an Outlook Calendar Entry using the REST API ( https://docs.microsoft.com/en-us/previous-versions/office/office-365-api/api/version-2.0/calendar-rest-operations#create-events ) within UiPath?
If so, does anyone have an example XAML file they would be willing to share?

I appreciate that I could automate the Outlook UI to achieve this, but feel it would be quicker to interact via an API based on the potential volume of transactions that will be passing through the automation.

Thanks,

For accessing the API of Outlook, first of all you need to register your own application in the Microsoft Azure and then you will get the authentication token and client secret ID. Then using those two, You need to send a request to the URL https://login.microsoftonline.com/common/oauth2/v2.0/authorize so you will get the Authentication token. Once all these are done, then

for every request you want to send in the below link, you need to pass the authentication token to the request

You have everything in the link itself, try giving the same :slight_smile: and if you have any doubts please post. Happy to help @andrewjames

1 Like

@HareeshMR & @andrewjames, I am will be suggesting team to use these API with RPA tools. For every RPA tool and every account, I will have to register each server as an application?