microsoft / hack-together

Hack Together: Microsoft Graph and .NET is a hackathon for .NET developers to learn Microsoft Graph and Microsoft 365.
MIT License
523 stars 85 forks source link

Project: Microsoft Teams Bot - Schedule Meetings for a Team and send the meeting link by e-mail for all members #209

Open fsdp15 opened 1 year ago

fsdp15 commented 1 year ago

Project name

Channel Meeting Bot

Description

Hi!

My app is a bot for Microsoft Teams.

It is a proof of concept showing how to schedule a meeting for a team in Microsoft Teams automatically by a bot using MS Graph API, and send an email to the users with the invite link. I chose this idea because I haven't found any MS Teams Bot Sample similar to this in https://learn.microsoft.com/en-us/samples/browse/?products=office-teams.

The bot first install itself for all the users of the team, and for this, I used the template Graph Proactive Installation with some modifications: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/graph-proactive-installation/csharp

Later on, adding to the code above, the bot presents the option for the user to schedule the meeting. A meeting link is then generated, with all of the Team members invited to the meeting. The bot posts the meeting link into the channel he is installed. After that, the bot also sends an e-mail to each user in the channel containing the meeting link. Finally, the bot also proactively sends a 1:1 message to each user in the channel containing the meeting link.

There is a README.docx file in the repository showcasing how to install the bot. . Since the installation can be quite long/difficult and prone to errors, I created a video to showcase the bot in case you do not manage to get it working: https://www.youtube.com/watch?v=jLOSrWPgOpU.

Repo URL

https://github.com/fsdp15/Microsoft-Teams-Channel-Meeting-Email-Sample

Team members

Felipe Dotti (felipedotti@microsoft.com; https://github.com/fsdp15)

waldekmastykarz commented 1 year ago

Very nice @fsdp15! Would you be willing to record a short video to demonstrate the app? It's not required for the hackathon but it would help us showcase your work internally at Microsoft and publicly in the community šŸ˜Š

fsdp15 commented 1 year ago

Very nice @fsdp15! Would you be willing to record a short video to demonstrate the app? It's not required for the hackathon but it would help us showcase your work internally at Microsoft and publicly in the community šŸ˜Š

Thanks, @waldekmastykarz.

The video can be found here: https://www.youtube.com/watch?v=jLOSrWPgOpU&ab_channel=Dotti. Or also here: https://1drv.ms/v/s!AhbdjVk58i1ahdl3X8v1SDxEsRitBw?e=ljT46t