Forum Discussion
VinAgg
Dec 23, 2020Copper Contributor
How to get User teams id using Microsoft Graph API or via any another method
I want to extract user id of a user to send a proactive message via a bot. I'm able to find the basic details of the user using graph API but unable to find a way where i can query user teams id whic...
- Dec 28, 2020Hi VinAgg
Hopefully this will help to answer your question
https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet#examples
This specific section is what I think you need
https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet#get-the-user-id-or-teamchannel-id
Hope that helps
Best, Chris
Dec 28, 2020
Hi VinAgg
Hopefully this will help to answer your question
https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet#examples
This specific section is what I think you need
https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet#get-the-user-id-or-teamchannel-id
Hope that helps
Best, Chris
Hopefully this will help to answer your question
https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet#examples
This specific section is what I think you need
https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet#get-the-user-id-or-teamchannel-id
Hope that helps
Best, Chris