Forum Discussion

VinAgg's avatar
VinAgg
Copper Contributor
Dec 23, 2020
Solved

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 which looks something like this -> 

 

09:1YuoZA9DSJPbW3ITaCUEHAlIhyLYt8vgFLm9X3dB-L9wQ5YbMZEWi

 

I'm not sure whether this id is only needed to send a message to a user or any basic detail will work to send the notification for ex-: User Principle Name, Azure Active Directory ID etc.

 

 

 

Resources