-
Notifications
You must be signed in to change notification settings - Fork 492
Closed
Labels
Area: TeamsThe issue is related to Teams supportThe issue is related to Teams supportBot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.Indicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.Issue is created by anyone that is not a collaborator in the repository.
Description
When using this TeamsActivityHandler and then adding an Active Directory group to a Team where the bot is after around 75 calls to this line, it receives a 429 and then the bot throws an exception.
| newMemberInfo = await TeamsInfo.GetMemberAsync(turnContext, memberAdded.Id, cancellationToken).ConfigureAwait(false); |
Ideally I would like to not have an exception and that the throttling happens appropriately. But maybe there's also a workaround for my scenario? I just care about overriding OnTeamsMembersAddedAsync to detect when the bot is added to the Team, so actually this loop through all the added members is unnecessary for my goal. Is there a different way of achieving this and circumventing the bug.
Metadata
Metadata
Assignees
Labels
Area: TeamsThe issue is related to Teams supportThe issue is related to Teams supportBot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.Indicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.Issue is created by anyone that is not a collaborator in the repository.