【发布时间】:2019-02-22 11:08:31
【问题描述】:
【问题讨论】:
标签: azure sharepoint office365 botframework
【问题讨论】:
标签: azure sharepoint office365 botframework
如果您的机器人要同时连接 SharePoint 和 Office 365,您最好使用 Azure Active Directory v2 作为 OAuth2 提供程序,然后使用Microsoft Graph API(和specifically for SharePoint)。这样,您只需要一个连接,并且这条路线的帮助/支持明显更多。
您可以follow this tutorial进行身份验证。
还有一个用于 auth 和 msgraph 的示例机器人:C# / JS
另一个选择 Graph 路由的好理由是因为 Discovery Service API will be deprecated in November 2019(关于 SharepointOnline 连接的“发现 URL”参数)。
【讨论】: