Skip to content

[Doc-Update]ChannelAccount object to create a conversation is not behaving as expected #14079

@SubbaReddi

Description

@SubbaReddi

Steps to reproduce

When user clicks on "Remove Chat history" in bot chat, conversation is deleting and when bot tries to send proactive messages, it is throwing conversation not found error. So, we use following documented approach to recreate the conversation: https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet#create-the-conversation

We need to use following ChannelAccount parameters to recreate the conversation: https://learn.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#channelaccount-object

Based on above doc, we can pass aadObjectId to recreate the conversation. But bot framework throwing error as 400 bad request.
If pass aadObjectId value in id parameter, it works.

Image

So, it creates confusion and may need to further clarify on the same.

Expected behavior

We expected to pass user object GUID under aadObjectId, but it is failing with 400 bad request.

Actual behavior

If we pass same user object GUID under id parameter, it is working.

Error details

No response

Metadata

Metadata

Labels

doc-enhancementIf feedback is about suggested improvements/additions, but no evidence customer was blocked.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions