I have a Microsoft teams bot that creates tab in channel on certain requests.
I want to track who is the user in channel who opens the tab.
Is there a way to do so?
Any help is appreciated. TIA!
You can try to Get Context for your Tab. It return the User Object ID, Login Hint, User Principle Name of the user who is accessing the Tab
Here is the Method which you can call: You can also retrieve the information listed above using the Microsoft Teams JavaScript client SDK by calling
microsoftTeams.getContext(function(context) { /* ... */ }).