Forum Discussion

Re: Graph API: I cant create a call peer to peer

mpaludi00 -

Please verify if the ApplicationId in teams app instance has the same ApplicationId from your bot registered in Bot Services:

Using teams powershell module: Get-CSOnlineApplicationInstance

or update it using Set-CsOnlineApplicationInstance -ApplicationId <AppId from bot>

Also, make sure that the applicationInstance.Id in the request body is the applicationInstance.objectId from teams application instance.


Thanks, 

Prasad Das

-----------------------------------------------------------------------

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 




2 Replies

  • mpaludi00's avatar
    mpaludi00
    Copper Contributor

    The application id is the same in both places (Bot and My App on azure).
    Regarding your last suggestion about the applicationInstance.Id , I am not passing that argument as a source, as I want the source to be a user.

    What I need is to generate a peer-to-peer but not have the bot start it, otherwise it creates a conference. Is that possible? Prasad_Das-MSFT 

    Thanks for the quick response, I hope you can continue to help me.


Resources