Forum Discussion
fabin10
Jul 20, 2021Brass Contributor
How to get user email by ID on Message extension created using Microsoft Bot Framework?
Hi, I am using Microsoft Bot Framework to create a message extension. I would like to get the user email of customers who enter the search query in the command box. I am able to get the user emai...
Prithvi-MSFT
Microsoft
Jul 23, 2021Hi, We are able to repro this issue. We are currently looking into it and will get back to you.
- fabin10Jul 26, 2021Brass Contributor
Prithvi-MSFTThanks for the update. The issue is only when we call the extension from the topbar command box like @appname:<search text> and in other situations we are able to get the user details using the folowing code
const member = await TeamsInfo.getMember( context, context.activity.from.id );
Is the above method will not work if we do the search from command box?
- Prithvi-MSFTJul 26, 2021
Microsoft
- fabin10Jul 27, 2021Brass Contributor
Prithvi-MSFTThanks for the update.