[英]Azure Bot Framework bot does not reply often in Microsoft Teams
[英]Azure AD integration with Bot Framework / teams
上周我一直在查看Bot framework Samples ,老实说 BotFx 不是我的专业领域。 我正在使用样本库中的这些样本:
18.bot-authentication
24.bot-authentication-msgraph
46.teams-auth
使每个工作所需的步骤几乎相同,对于 #18 并使其在模拟器中工作,这包括:
{
"ConnectionName": "juank",
"MicrosoftAppId": "cee1234562074c-1b3e-49b4-9e76-b727d73453454e018d",
"MicrosoftAppPassword": "uxPdfgwo.JAYmgrtU]w5I7KdgxLZSJ.a[qtgtrFxYZ02"
}
Operation returned an invalid status code 'Unauthorized'
此数据Operation returned an invalid status code 'Unauthorized'
{
"channelId": "emulator",
"conversation": {
"id": "77631280-22e8-11ea-93e0-6dc9b0b41a7c|livechat"
},
"from": {
"id": "61bab030-214b-11ea-9cf4-193735472c4b",
"name": "Bot",
"role": "bot"
},
"id": "ae429e60-22e8-11ea-9786-a543cb22378b",
"label": "TurnError",
"localTimestamp": "2019-12-20T00:22:13-05:00",
"locale": "en-US",
"name": "OnTurnError Trace",
"recipient": {
"id": "f6982626-923e-4fd3-b930-eabf095e96df",
"role": "user"
},
"replyToId": "aacb51f0-22e8-11ea-9786-a543cb22378b",
"serviceUrl": "https://7eec83e4.ngrok.io",
"timestamp": "2019-12-20T05:22:13.958Z",
"type": "trace",
"value": "Operation returned an invalid status code 'Unauthorized'",
"valueType": "https://www.botframework.com/schemas/error"
}
就这样。
我已经成功地从 azure 门户中的 OAuth 设置测试工具中获取了令牌,并且还使用了 Postman,但是一旦应该提供 OAuthCard 进行登录,我就无法使这些演示正常工作。 调试没有帮助,因为除了上面公开的 JSON 之外没有其他信息。
任何有关如何解决此问题的指导或方向将不胜感激。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.