My goal is to gather user meetings (Office 365 and Outlook.com) for a specific day in a WPF C # project. Following the steps described in the Outlook Dev Center Tutorial , the second step (after registering the application) is to authenticate the user using OAuth2. But I can not get it to work:
- I did not find any tutorial / code snippet that I was able to run. All of them are written either for applications or for Asp.Net (or something else). I tried to adapt them, but to no avail ...
- I installed the Active Directory Authentication Library ( ADAL ) and Microsoft Office 365 Mail, Calendar, and Contacts Library through Nuget.
- I also don't want to use an Azure subscription, just to read some appointments. And I think that this is also not necessary for my purpose, as they say that it is important only for advanced management .
- When I try to get a token from the credentials that I have received from the portal registration applications , I get:
Application '<id>' is not supported for this API version.. Looking at the error on https://stackoverflow.com/a/1682977/ ... , I need to register the application, which I did. - When I try to get a token from the credentials of of Office the App the Registration Portal , I get:
Application with identifier '<id>' was not found in the directory outlook.office365.com. - The documentation really confuses me with a lot of different APIs (API Graphics, API 365, etc.) and many dead pages in the documentation ...
.