OfficeDev / microsoft-teams-apps-company-communicator

Company Communicator app template
MIT License
330 stars 403 forks source link

Delivery status shows as RecipientNotFound #1559

Closed saranRK05 closed 1 month ago

saranRK05 commented 2 months ago

Tried sending messages to wider company colleagues we see users are getting missed/skipped from triggering message. No logs or events showing up for those skips. We tested it with few users added to Csv and upload the same with my ID included, where only my ID received the message and another one didn't. but the report stats displayed the below, when it had two users in it. Checked Application insight failure logs and found the below exception. Kindly advise. Operation: SendMessageFunction Exception thrown: Microsoft.Bot.Schema.ErrorResponseException: Operation returned an invalid status code 'NotFound'.

Could see user under UserData table when we try to filter.

peddivyshnavi commented 2 months ago

Hi @saranRK05 Thanks for raising the query. Could you please respond to the below queries.

saranRK05 commented 2 months ago

@peddivyshnavi - Thanks for your reply.

Please find my response below.

What is the version of the app? Version 5 What the count of members in the team? its a AAD Security group and there were 4 members in it. Please share Success and failure count, supporting screenshot would be helpful. Below, it doesnt show any faulures, below but on sentNotificationTable we can see error with message "Recipient not found" against that user image

Is this a first message? Yes for the affected users. I recon.

peddivyshnavi commented 2 months ago

Hi @saranRK05 By seeing screen shot provided we see 3 users out 4 were able to receive message could you please check the one who didn't received might be admin or author.

josh-coop commented 2 months ago

We are seeing the same with our users, with the number of Recipient not found errors increasing with each message. It's affecting users who previously have received messages also.

saranRK05 commented 1 month ago

Hi @saranRK05 By seeing screen shot provided we see 3 users out 4 were able to receive message could you please check the one who didn't received might be admin or author.

No @peddivyshnavi, they are not any admin or author of the app, they are just a regular users.

peddivyshnavi commented 1 month ago

HI @saranRK05 Could you please share your email id so that we can start discussing this ticket internally

saranRK05 commented 1 month ago

@peddivyshnavi - it would be Saran.Rajkumar@mnscorp.net

peddivyshnavi commented 1 month ago

Started discussing about ticket internally

peddivyshnavi commented 1 month ago

Connected internally and we see user was able to able to receive the messages. Please let us know if we can close this issue as no further action is required from our end

peddivyshnavi commented 1 month ago

@saranRK05 Could you please update us on the status of the issue?

saranRK05 commented 1 month ago

@peddivyshnavi - Yes, for affected users we had to remove the entry from UserData table and retrigger them, but this is just a Workaround and needs a fix for this issue. Not really sure what is the reason for this behavior as we normally send it to large list of recipients.

peddivyshnavi commented 1 month ago

Hi @saranRK05 This is because of Sync issue if user doesnt receive message we usually remove that entry and retrigger .Mark the ticket as closed if issue got resolved

peddivyshnavi commented 1 month ago

@saranRK05 Could you please update us on the status of the issue?

peddivyshnavi commented 1 month ago

Marking this ticket as closed