Error when I use GetConversationMembers In MS Teams
See original GitHub issueDescribe the bug
when running a bot from MS Teams, when I attempt to call GetConversationMembers component to get the name of the people I get the following error “GetConversationMembersAsync() only works with BotFrameworkAdapter” Am I missing a setting? is there something I need to enable?
Version
Browser
Edge Browser
OS
Windows
To Reproduce
Steps to reproduce the behavior:
- Add the GetConversationMembers component to any BeginDialog
Expected behavior
Get the details of the MS teams user in a private chat which includes their email address.
Screenshots
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
The bot is not a part of the conversation roster error in new ...
Hi, I am using Microsoft Bot Framework to create the message extension. I would like to get the user ... getMember() to get...
Read more >Why am I having trouble signing in to Microsoft Teams?
You're not using the right credentials. The Windows credentials you signed in with are different than your Microsoft 365 credentials. Try to sign...
Read more >Rate limiting for bots - Teams
Apps that go over this limit receive an HTTP 429 Too Many Requests error status. All requests are subject to the same rate...
Read more >BotFrameworkAdapter class
Asynchronously lists the members of a given activity. getConversationMembers(TurnContext). Asynchronously lists the members of the current conversation.
Read more >Resolve sign-in errors in Teams
Run the Teams Sign-in diagnostic; Use the Microsoft Support and Recovery ... If you still see an error when you try to sign...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Uggi I’ve created a sample here: GetMembersBot that has the code needed in a Custom Action (documented here: Create custom actions ) that will provide the same results as the built in GetConversationMembers. You can clone the sample repo and add the GetConversationMembersDialog to your Composer solution, and then follow all the other required steps in the instructions for creating a custom action to get it registered to your solution, or you can just follow the instructions for creating a custom action and replace where the source for the MultiplyDialog is referenced with the source for the new GetConversationMembersDialog. I’ve logged an issue against the SDK runtime to get this fixed in the next release, but that may be in October, so this should get you going until then.
@Uggi Closing this ticket as the feature has been merged and would be avaialable in our next SDK release.