I am developing a bot for MS Teams using JavaScript.
Using Bot Framework Connector I have installed the bot into one Team, storing teamId, tenantId, serviceUrl and channelId. I was able to send a message into the channel and also a direct message to an user, knowing its userId.
My question is how to get a list of all the users from the MS Teams organization or at least how to get an user ID knowing its email and UPN? It is this possible, having only this information, to do that using botframework-connector?
Note: I need to mention that I can't use Graph API since my bot doesn't have Graph Permissions and I don't have a context, my bot is initiating the conversation.