多个 azure 聊天机器人无法进行身份验证

问题描述 投票:0回答:1

我有一个天蓝色的机器人框架,类型为多租户。运行正常。 之后,我在同一个资源组中创建了另一个机器人框架,我正确设置了ApplicationID和秘密,但是当我运行它时,模拟器会抛出错误:

状态 400 机器人的 Microsoft 应用程序 ID 或 Microsoft 应用程序密码不正确。 尽管我仔细检查并正确复制了凭据。 另外,我的第一个机器人仍然运行良好。 此外,当我发布时,当我尝试在“网络聊天中测试”中运行它时,我遇到了相同的错误。 我已经没有想法了

我正在尝试在同一个资源组中运行第二个 azure 机器人服务,但它没有运行。 我的期望是:聊天机器人必须使用凭据和协调配置来运行。

azure multi-tenant credentials azure-bot-service
1个回答
0
投票

机器人的 Microsoft 应用 ID 或 Microsoft 应用密码不正确

  • 验证机器人的消息端点是否在
    Azure Bot=>Configuration=>Messaging Endpoint
    中正确配置。
  • Azure Bot=>Configuration=>Manage Password 中重新生成
    MicrosoftAppPassword

我在同一资源组 Plan 中创建了两个 Azure Bots Multitenant,并为这两个机器人创建了一个新的 Microsoft App ID。

enter image description here

  • 创建了两个具有相同资源组的 Azure 应用服务。
  • 将 Python Bot 应用程序部署到两个 Azure 应用服务。
  • 使用 Azure 应用服务配置机器人。

机器人1:

enter image description here

机器人2:

enter image description here

  • 能够成功测试两个机器人:

机器人1:

enter image description here

机器人2:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.