I'm trying to extend Teams connector when I'm mentioned to include all "group chats" and "one on one" chats as well.
I tried to enter custom values for 2 chats including suffix of user (one on one) and group chats as below:
"unq.gbl.spaces" is suffix for one on one user chats
"thread.v2" is suffix for group chats
However, I got trigger error as:
Unable to parse response JObject:{
"responses": [
{
"id": "1",
"status": 403,
"headers": {
"Cache-Control": "no-cache",
"Content-Type": "application/json"
},
"body": {
"error": {
"code": "ExtensionError",
"message": "Operation: Create; Exception: [Status Code: Forbidden; Reason: Caller does not have access to '/chats('thread.v2')/messages' resource]",
"innerError": {
"date": "2022-11-24T16:03:49",
"request-id": "removed in public forum for security",
"client-request-id": "removed in public forum for security"
}
}
}
},
{
"id": "0",
"status": 403,
"headers": {
"Cache-Control": "no-cache",
"Content-Type": "application/json"
},
"body": {
"error": {
"code": "ExtensionError",
"message": "Operation: Create; Exception: [Status Code: Forbidden; Reason: Caller does not have access to '/chats('unq.gbl.spaces')/messages' resource]",
"innerError": {
"date": "2022-11-24T16:03:49",
"request-id": "removed in public forum for security",
"client-request-id": "removed in public forum for security"
}
}
}
}
]
}
Any ideas how to parse custom value in such for any sort of chat types when I got mentioned, I can trigger the flow?

Report
All responses (
Answers (