In this sample, I show you how to search for your SharePoint content from a bot using the Bot Framework, OAuth2 and Node.js. Behind this simple use case, the main objective of this example is to show you how to implement bots with authentication mechanism to access OAuth2 protected APIs (like SharePoint, Graph, etc.). The overall authentication process for bots has already been well described in this article but unfortunately, it only exists in .Net (there is also the AuthBot GitHub project, again in .Net).
Sign in experience
|
Web Chat Channel |
Skype Channel |
Microsoft Teams Channel |
|---|
The complete documentation of this sample is available here.
| Solution | Author(s) |
|---|---|
| SharePointBot | Franck Cornu |
| Version | Date | Comments |
|---|---|---|
| 1.0 | January 26th 2017 | Initial release |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
- See this URL to see the step-by-step guide.



