Getting all mails from a shared folder in Outlook using Graph API

472 Views Asked by At

I am trying to get all mails from a shared folder in the following location (Folder2): \Public folders - [email protected]\All public folders\Folder1\Folder2

I want to do this using Blue Prism as I am a RPA developer. This means that I am going to use a HTTP request.

I have tried following URLs without much luck:

https://graph.microsoft.com/v1.0/users/{user id}/messages/

https://graph.microsoft.com/v1.0/users/{user id}/mailfolders('Inbox')/messages

Does anyone know if I am using the wrong URL, what exactly goes in place of {user id} and 'Inbox' or if it is something else completely?

0

There are 0 best solutions below