admin管理员组文章数量:1316376
I am trying to initiate a call between two users using the Microsoft Graph API, but I am encountering an error.
Request Body:
{
"@odata.type": "#microsoft.graph.call",
"callbackUri": "url",
"source": {
"@odata.type": "#microsoft.graph.participantInfo",
"identity": {
"@odata.type": "#microsoft.graph.identitySet",
"user": {
"@odata.type": "#microsoft.graph.identity",
"displayName": "User1",
"id": "123456
}
}
},
"targets": [
{
"identity": {
"user": {
"displayName": "User2",
"id": "123456"
}
}
}
],
"requestedModalities": [
"audio"
],
"mediaConfig": {
"@odata.type": "#microsoft.graph.serviceHostedMediaConfig"
},
"tenantId": "55666655"
}
I get this message as reponse :
{
"error": {
"code": "2255",
"message": "Call source identity invalid.",
"innerError": {
"date": "2025-01-18T16:58:56",
"request-id": "12345",
"client-request-id": "12345"
}
}
}
Issue Details:
I can successfully initiate a call between a bot (application) and a user when the source type is "application". However, when I try to initiate a call between two users (as in the request body above), I receive the "Call source identity invalid." error.
Question:
Is it possible to initiate a call between two users using Microsoft Graph API? If so, what am I missing in my request?
Any insights or alternative approaches would be greatly appreciated.
本文标签: Initiating a Call Between Two Users Using Microsoft Graph APIStack Overflow
版权声明:本文标题:Initiating a Call Between Two Users Using Microsoft Graph API - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742002348a2411266.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论