Search code examples
microsoft-graph-apimicrosoft-teamshololensmicrosoft-graph-teamsmrtk

Is possible use Microsoft Graph API in a UWP app on HoloLens in order to initiate a video call through Microsoft Teams?


I would like to use Microsoft Teams to start a video call using HoloLens device with another people (using a PC).

I have and UWP app that I can install on HoloLens device, I would like to use Microsoft Teams to start a video call, to stablish a communication between HoloLens user and Pc user. The problem is that I cannot install Microsoft Teams on HoloLens Device.

I have reviewed that exist Remote assist but I need a subscription to use it, so I wondering if using Microsoft Graph API in a HoloLens's UWP app, I will can initialize a video call through Microsoft teams. Will it be possible to do it?

I see that I can create a Call: https://learn.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0&tabs=http but,

  • Do I need a bot? why?
  • Do I need access to Azure Active Directory?
  • If on HoloLens device I Cannot install Microsoft Teams, Can I stablish a video call with the user using the Microsoft graph API?

Any help is appreciated.


Solution

  • We can create a call using an Graph API.

    When a call is created need to mention the requestedModalities where audio/video/videoBasedScreenSharing can be define for a call. please check the properties in Call resource type .

    You need to create a calling bot for creating call.

    To create a bot you need access to Azure Active Directory.