Teams incoming conference call notification showing "Unknown user"

金 正勳 41 Reputation points
2022-03-14T06:29:11.547+00:00

Hello,

I am making an iOS app for group call.
the problem is, it always shows "Unknown User (Conference call)" on the incoming call notification (calling by a bot). here is my request code (JSON body) below:

let json = [
            "@odata.type": "#microsoft.graph.call",
            "callbackUri": "https://bot.contoso.com/callback",
            "targets": [
              [
                "@odata.type": "#microsoft.graph.invitationParticipantInfo",
                "identity": [
                  "@odata.type": "#microsoft.graph.identitySet",
                  "user": [
                    "@odata.type": "#microsoft.graph.identity",
                    "displayName": "Sender",
                    "id": VoiceCallManager.targetUserIdTX
                  ]
                ]
              ],
              [
                "@odata.type": "#microsoft.graph.invitationParticipantInfo",
                "identity": [
                  "@odata.type": "#microsoft.graph.identitySet",
                  "user": [
                    "@odata.type": "#microsoft.graph.identity",
                    "displayName": VoiceCallManager.targetUserName,
                    "id": VoiceCallManager.targetUserIdPersonal
                  ]
                ]
              ]
            ],
            "requestedModalities": [
              "audio"
            ],
            "mediaConfig": [
              "@odata.type": "#microsoft.graph.serviceHostedMediaConfig"
            ],
            "tenantId": AuthenticationManager.instance.tenantId
        ] as [String : Any]

Can you please let me know the cause of it?
Thank you.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,268 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,888 questions
0 comments No comments
{count} votes