Forum Discussion
Graph API: I cant create a call peer to peer
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.
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.
- Prasad_Das-MSFTJul 22, 2022
Microsoft
mpaludi00 - Please refer: Create call - Microsoft Graph beta | Microsoft Docs