Hi,
I am writing a windows service (so no gui) for fetching calendar events from an Office365 tenant.
I understand that my service must be registered in Azure AD and that I need to use 'auth strength of 2'. So I have created a self-signed x509 certificate, modified the manifest file of my application and am using ADAL to acquire an OAuth token. So far so good.
My question is: Can I call the Office365 REST API directly from my windows service or do I have to use some kind of 'Two tier access' as suggested here and in this sample?
I'm confused. Given that my application uses the token when authenticating I should be able to access the Office365 REST API directly? No?
Thanks and best regards,