用于Sharepoint和Office365的Bot Framework Azure连接提供程序

时间:2019-02-22 11:08:32

标签: azure sharepoint office365 botframework

如何为SharePoint和Office365填写这些字段? enter image description here

enter image description here

1 个答案:

答案 0 :(得分:1)

如果您的机器人要同时连接SharePoint和Office 365,则最好将Azure Active Directory v2用作OAuth2提供程序,然后再利用Microsoft Graph API(和specifically for SharePoint)。这样,您只需要一个连接,此路由就会有更多的帮助/支持。

您可以follow this tutorial进行身份验证过程。

还有一个用于auth和msgraph的示例bot:C# / JS


选择Graph路线的另一个好理由是因为Discovery Service API will be deprecated in November 2019(关于SharepointOnline连接的“发现URL”参数)。