I am developing a Microsoft Teams bot using Azure Bot service, I have a use case where I need fetch the @mentioned users AAD object Id and use this Id to get other enterprises specific user information.
I have tried to use turnContext object's, GetMentions()
API which returns Channel Account object, however, the AAD Object property of channel account is empty, though it has an Id property which I believe corresponds to the Bot Service channel's (Microsoft Teams) user.
Given my research, could someone please let me know how to fetch the users AAD object Id or point me to the right documentation?