botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

How to get the logged in User information when the channel is Microsoft Teams

Open sivakishorejvv opened this issue 9 years ago • 3 comments

I created a simple bot and enabled the channel for Microsoft Teams. In this bot i need the logged in user information like email/mobile/location etc. But through the bot framework i can able to see only the name. How to get the remaining user profile information. Any help?

sivakishorejvv avatar Dec 08 '16 13:12 sivakishorejvv

The bot does not receive any information about the user chatting with it, other than the ID of the user. You would have to implement authentication yourself to get this information. Take a look at https://github.com/MicrosoftDX/AuthBot

siduppal avatar Dec 13 '16 00:12 siduppal

Closing issue. Please open a new issue if you have further questions.

dandriscoll avatar Dec 21 '16 16:12 dandriscoll

Is there any update on this? Basic info of user like email should be available so that a user who is already been authenticated to log in into Teams doesn't have to authenticate again. @siduppal @dandriscoll

AkshatTR avatar Nov 27 '19 18:11 AkshatTR