Hi everyone,
I'm in the process of setting up a ticket based technical support system.
I'd like to create a group chat with the user who submitted the ticket & the operator who was assigned the ticket.
I'm inputting the emails of the user & operator but am receiving a Bad Request 400 error
"code": "BadRequest",
"message": "Invalid OData type specified: \"Microsoft.Teams.GraphSvc.aadUserConversationMember\"",
I've tried using the user ID, emails, manually typing the emails etc.
email format: firstname.lastname@domain.com.au
user ID: obtained through search for users V2
The user, operator & flow connector are all on the same domain so should be able to initiate the chat - I've tried through other flow connector/accounts and having the same issues.
I'd love for this to be a silly mistake and a simple fix! x)
Edit: Someone from my team believes it may be a bug with the 'Create a chat' feature.
Specifically, because it uses the aadConversationMember class requires aadUser or something similar to add the Teams account to the chat. Because it's a new 'conversation' there's currently no conversation members. I've added the 'peak code' below
{
"inputs": {
"host": {
"connectionName": "shared_teams",
"operationId": "CreateChat",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_teams"
},
"parameters": {
"item/members": "@{outputs(insert-operator-email-here};@{outputs(insert-user-email-here}"
},
"authentication": "@parameters('$authentication')"
}
}