article by Rohit Dhamija, November 2019
Microsoft teams and other channels, e.g. Slack, do not have the same mechanism for accessing user profile information like e.g. the Oracle Web SDKs has. The reason for this is that, when using MS Teams, the user is already identified by the Microsoft platform.
However, it is a common requirement that bots can access user information such as the user's first and last name. For you to access user profile information in MS Teams you need to call a protected Microsoft REST endpoint from within your bot (using a custom component).
This article walks you through the steps to retrieve user profile information – MS Team Name, First Name, and Email ID. The examples use Postman for accessing the MS Teams API and a custom component for accessing the conversation identifier.
Related Content
TechExchange: All 2-Minutes Oracle Digital Assistant Tech Tip Videos on YouTube
TechExchange Quick-Tip: How-to Write And Read User Profile Information Using the Web Client-SDK
Custom component development and backend integration hands on tutorial
Custom component service local debugging tutorial