Skip to content

[BUG] App/Bot names don't show in chat #2947

Description

@plasne

Describe the bug
If chatting with a bot in a group chat, the name of the app/bot will not show next to the datetime and before the message. Unfortunately, this means you don't know who sent the message, a real issue if more than one bot is in a group chat.

To Reproduce
Steps to reproduce the behavior:

  1. Create a group chat in Teams
  2. Add one or more apps with bots
  3. Send a bot a message and wait for a response
  4. Look at the response in MGT
  5. Notice that you don't know who sent the message

Expected behavior
As with users the sender should visible.

Screenshots
If applicable, add screenshots to help explain your problem.

image

Environment (please complete the following information):

  • OS: MacOS
  • Browser: Edge
  • Framework: React
  • Provider: Msal2Provider

Additional context
This appears to be because the control comes from the ACS component UI library and it only sends the user info, not the full identity block that is sent by the Graph API.

{
    "application": {
        "applicationIdentityType": "bot",
        "id": "0c5cfdbb-596f-4d39-b557-5d9516c94107",
        "displayName": "App Studio"
    },
    "device": null,
    "user": null
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status
Done ✔️

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions