Storing Contexts from Chatbot in database

Sai Krishna 6 Reputation points
2020-07-28T13:52:42.573+00:00

We have a bot application that we integrated it into Teams and we would like to store context responses with teams user id in database. We could get the contexts stored in the database but not the userid details. We are using SQL server for storage. Can someone point how to store the teams user id in the database? Thank you!

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
842 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,307 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,897 questions
{count} votes

2 answers

Sort by: Most helpful
  1. YutongTie-MSFT 52,856 Reputation points
    2020-07-28T21:11:05.12+00:00

    Hi,

    I just go through the document and I think this is the guidance you want for "get single user's profile" - https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/get-teams-context?tabs=json#get-single-member-details

    Please let me know if this does not work for you. Thanks.

    Regards,
    Yutong

    0 comments No comments

  2. JimmyYang-MSFT 53,846 Reputation points Microsoft Vendor
    2020-07-29T07:36:20.017+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.