QEHNick Posted June 17, 2022 Share Posted June 17, 2022 Quick question, what should be placed in the filed "Chat ID" in the aforementioned integration? Thank you. Link to comment Share on other sites More sharing options...
Steve Giller Posted June 17, 2022 Share Posted June 17, 2022 So I'm answering to cover multiple scenarios rather than just this specific configuration I'm just going to post this image! Link to comment Share on other sites More sharing options...
Steve G Posted June 17, 2022 Share Posted June 17, 2022 @QEHNick Chat ID is the ID of the 1-2-1 chat session with a user. This operation is used to send messages to private chat sessions rather than group channels. Private chat sessions can be created with the Chat > Create Chat operation, which outputs an ID that you can use in the Chat > Send Message operation (below). If a one to one chat already exists between the account that the Teams integration is using, and the target user, the Chat ID of the existing chat will be returned. Hope this helps, Steve Link to comment Share on other sites More sharing options...
QEHNick Posted June 17, 2022 Author Share Posted June 17, 2022 Oh, how silly of me. I didn't realise the process was split into two parts. So the User ID is which customer field? Would it be their primary email address or their actual "User ID" Link to comment Share on other sites More sharing options...
Steve G Posted June 17, 2022 Share Posted June 17, 2022 @QEHNick as per the docs, it's actually the Microsoft UPN of the target Teams user: Cheers, Steve Link to comment Share on other sites More sharing options...
QEHNick Posted June 17, 2022 Author Share Posted June 17, 2022 Thanks Steve, so the Universal Principal Name, got it, cheers. 1 Link to comment Share on other sites More sharing options...
QEHNick Posted June 23, 2022 Author Share Posted June 23, 2022 Ok, so now it's all set up, however, testing produces the following. When creating the chat session: ID = Status = failedError = BadGateway: Failed to execute backend request. When attempting to send the message: ID = Status = failedError = BadRequest: UnknownError Is there anywhere I can dig further to analyse these Timeline outputs? Link to comment Share on other sites More sharing options...
QEHNick Posted June 23, 2022 Author Share Posted June 23, 2022 OK, it now works (after changing it to use the Primary email address instead of the User ID - oddly they are both the same, but the BP refused to read the User ID) - the only problem is, instead of sending the chat to the User ID, it sends it to the team member who set up the connector. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now