Error - Create peer-to-peer VoIP call with application hosted media

Bharatha De Silva 6 Reputation points
2020-09-21T07:58:21.817+00:00

I'm making Graph API call to Create peer-to-peer VoIP call with application hosted media,
and I get below error.

Request: { "@odata.type": "#microsoft.graph.call", "callbackUri": "http://2631306c61e9.ngrok.io/xxxx/xxxxx/notification", "source": { "@odata.type": "#microsoft.graph.participantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "application": { "@odata.type": "#microsoft.graph.identity", "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx", "displayName": "<Full Name>" } } }, "targets": [ { "@odata.type": "#microsoft.graph.invitationParticipantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "user": { "@odata.type": "#microsoft.graph.identity", "displayName": "<Full Name>", "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx" } } } ], "requestedModalities": ["Audio"], "mediaConfig": { "@odata.type": "#microsoft.graph.serviceHostedMediaConfig" }, "tenantId": "xxxxxxx-xxxxx-????" }

Referred: https://learn.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0&tabs=http

Even for empty JSON body as below, I do get this error without raising any BadRequest error.

POST /v1.0/communications/calls  
  
Content-Type: application/json  
Authorization: Bearer eyJ0eX????????  
  
{}  


{  
  "error": {  
    "code": "UnknownError",  
    "message": "{\"errorCode\":\"7503\",\"message\":\"Application is not registered in our store.\",\"instanceAnnotations\":[]}",  
    "innerError": {  
      "date": "2020-09-21T07:47:35",  
      "request-id": "db5022ae-94aa-48df-91fb-69171e38451c",  
      "client-request-id": "db5022ae-94aa-48df-91fb-69171e38451c"  
    }  
  }  
}  
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,295 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,903 questions
{count} votes

2 answers

Sort by: Most helpful
  1. PKC 11 Reputation points
    2020-09-24T03:50:18.107+00:00
    2 people found this answer helpful.

  2. JamesTran-MSFT 36,631 Reputation points Microsoft Employee
    2020-09-24T18:59:46.2+00:00

    @Bharatha De Silva
    I'm glad you were able to resolve your initial issue!

    Looking into your question, Example 2 states - "a peer-to-peer call between the bot and the specified user". Additionally, at the top of the documentation it says - "Create call enables your bot to create a new outgoing peer-to-peer or group call..."

    I've reached out to our engineering team for this and since this issue is a Teams related issue, I've added the correct tags. However, you might be able to get a faster response from our "Teams" team, by posting to their forum.

    Thank you for your time!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.