Forum Discussion
firstteam
May 12, 2021Copper Contributor
Would it be possible to get TeamsChannelAccount instance by querying user email address somehow?
Hello, I guess we could get all users info by using TeamsInfo.GetPagedMembersAsync... I believe it should list all members.... then is there any method that I can use to search based on user emai...
Jagadeesh-MSFT
Microsoft
May 20, 2021- firstteamMay 20, 2021Copper ContributorOK. I will...BTW, what about Bot instead of graph then? so I believe there is no such thing in Bot then. Correct?
- Jagadeesh-MSFTMay 24, 2021
Microsoft
Hi firstteam, currently its not possible to get TeamsChannelAccount instance
using user email id. Instead we can try graph API (GET https://graph.microsoft.com/v1.0/users/userPrincipalName) to get user id using email address.