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.
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
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.
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