microsoft-graph-comms-samples
microsoft-graph-comms-samples copied to clipboard
Inviting bot to meeting
Hi, I am trying to invite a calling bot to a meeting. Is it possible to invite a bot to the meeting when scheduling it? Does it receive a callback? Or is it only possible to invite him through a REST-call like in the samples?
Thanks in advance for answering this question.
Bot to bot invitations are not enabled in the graph APIs. They may become supported in the future, but it would be a feature request. If this is something that you would like to have added, please let us know what scenario you wish to support and we will add it into our feature backlog.
In terms of inviting a bot to a meeting, this is possible but you need to add the bot to Teams AppStudio manifest and enabling audio/video calling. Once you do this you can install the bot for testing, place calls to the bot using the Teams client, and when ready publish the bot.
Hi, Thanks for answering.
With my question I meant, that I want to invite my bot to the meeting through "Invite people". At the moment I invite him with REST. But I want to add him by inviting.
Should I be able to find the bot name, after publishing it with its manifest?
At this moment I cannot find it with name or GUID
Ok, I understand better now. Do you just want the bot to appear in the meeting roster, or do you want it to join automatically once the meeting starts? I am not sure if the bot gets a dial out once the meeting starts, my guess is it does not given that people also do not get a dial out. My guess is that this only shows the roster of who is invited to the meeting, and once the meeting starts you either have to have the bot join via an API or explicitly dial out to the bot.
In theory the bot should be able to see the meetings it is a part of using either the Calendar APIs or the Teamwork APIs. It should then be able to join any meeting it was invited to. Although by looking at those APIs it's not clear to me if they accept an application
AAD token.
Apologies for the lack of certainty in my answers, I have never tried this scenario. @VinodRavichandran are you aware of a mechanism by which bots automatically join meetings when the scheduled meeting starts?
@ksikorsk Automatic invitation is primarily drive by admin policies but I don't think @PieterVandendriessche is looking for that here.
@PieterVandendriessche, that text field may just be for users in your tenant but you could start with checking with Teams Client support team.
Thanks for your responses, @ksikorsk: Ideally, I want the bot to appear in the roster, and let it be automatically invited. Unfortunately, I can't find the bot for an invite. I thought this may be possible, and that when the bot needs to join the meeting the callback url is called.
@VinodRavichandran: Will do.
@PieterVandendriessche What's the type of bot that you are trying to build? We are working on a 'policy-based' invite model for bots, but the nature of those bots will be compliance/regulatory reasons.
@VinodRavichandran a bot that participates in a MS teams meeting, where he is invited to. This to capture some data.
thanks @PieterVandendriessche for raising the point very intersting :) @vinaychandra , i am very inetrrested about the kind of bot you are mentioning.. any additional hint about that ? thnx !
@VinodRavichandran Can you provide more information about the statement: "We are working on a 'policy-based' invite model for bots, but the nature of those bots will be compliance/regulatory reasons."
Similarly to @PieterVandendriessche, we are trying to find a way to have our bot either automatically or manually (via invitation) included in a scheduled meeting. Our use case is compliance.
What is the best way to accomplish this? Is there any documentation on the policy-based invite model.
Hi @clippermadness, We don't have any publicly shareable document or availability plan to share at this point. We'll release this is Beta once it's available.
Thanks @VinodRavichandran. In the meantime, how do we get a bot invited to a call?
If you have enabled the bot for calling, you can click on add participant in a meeting and add the bot to invite it to that call. See this and this
Hi @vinaychandra ,
I just tried this but when i click on add participant i cannot search for the bot ( i tried with bot name and bot id). bot is enabled for calling ( i can call the bot on a 1:1 way). may be i missed something else ?
@mwerghemmi you did not. I don't believe the teams client allows you to invite a bot to a meeting. I am unsure when this is planned for. @VinodRavichandran do you know if/when teams client plans on adding this support?
The only option for you today is to get the meeting coordinates (join link) and have the bot join the meeting.
@nkramer - Probably something you can answer?
@nkramer ping :)
Hey, I see this issue is still open, and its been more than a year, and by this time a solution may have come up.
So i'm trying to build a bot which you could manually add or invite into a Teams call, so that then it could be able to record it. So far i have not been able to find a way to do so.
Has anyone been able to manually invite a bot? @VinodRavichandran @nkramer
@pagella42 current workaround: Make a user account for the bot, with mail capabilities. Invite that account to your meeting, and look with MS graph for meetings in his agenda.
Hey, Would it also be possible to invite a bot To a live event? Either by an api call or any available method. If so, which role would he be assigned? Can one manually assign it the role when joining him?
@PieterVandendriessche Could that approach also be applied in this case? And if possible, could you invite it as a presenter?
I think I found a roundabout manual way to join a bot to a channel:
- Start the meeting,
- ~~Go back to the channel chat (must be the main channel chat not the in call chat)~~ Actually it can be the meeting chat but to get the Bot to appear in the participants list click on the Calendar or something outside the meeting. I guess that when you come back to the meeting Teams re-checks the participants and the Bot appears,
- Send a message to the bot using
@botname
, - Go back to the meeting call and click "Show Participants",
- The both shows up for me under the "Invite other from conversation" heading,
- From the "More Options ..." icon next to the bot click "Ask to Join".
@PieterVandendriessche --- can you please me know how are you inviting bot to Online meeting, which ReST ApI you have used ? How does it gets bot can join a scheduled meeting ?
@siddharth-vaghasia Microsoft Graph to check the agenda of the 'Service account'. Check on a new meeting and join the call then.
@pagella42 current workaround: Make a user account for the bot, with mail capabilities. Invite that account to your meeting, and look with MS graph for meetings in his agenda.
This way bots does not get any incoming call notification to answer or reject easily. Do you suggest we need to keep monitoring bot calendar and join when in the meeting time. This does not sound optimal. What do you suggest ?