Imagine having a personal Office 365 assistant in your daily job routine, which can help you provide all information that you need, like for example who is your manager, scheduling a meeting, displaying and updating your profile picture or list the Microsoft Teams where you are involved and so on.
These are only a few samples of business use cases but just think of the use of Microsoft Graph API that we have really great capabilities to leverage and interesting scenarios that come out.
- Create a Bot on Azure (Node.js)
- Register the Bot created in the Azure Active Directory of your Office 365 tenant
- Test it locally with Bot framework emulator or directly on Teams
This is the final result:
You can find my solution on github: https://github.com/giuleon/O365-Bot-Oauth2