Skip to main content

在Azure Bot中使用User-assigned managed identity完成认证

分类:  Teams应用开发 标签:  #Azure Bot Framework SDK #Azure Bot Service #Teams App 发布于: 2025-03-06 16:35:28

在使用Bot Framework开发定制的Bot时,如果使用Azure Bot连接其他的Channel, 例如Teams, 那么需要将Bot的代码部署到相应的Web服务中,并在Azure Bot中配置API的endpoint指向该Web服务,这需要在Web服务中配置认证来访问该Azure Bot的资源, 一般情况下我们可以使用Serivce Principal来访问,但是为了安全,我们可以使用User-assigned managed Identity来完成认证。

Read more