web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to send Microsoft ...
Power Apps
Answered

How to send Microsoft Teams invites when someone books a room (in the OnSelect function)

(0) ShareShare
ReportReport
Posted on by

 

Hello all!

 

I have a booking room app that has the following interface allowing users to book rooms at an office:

 

jharville_0-1625254215299.png

 

When a user clicks the "Book" button, it will reserve a time-slot in Outlook for the user for the room that they selected. However, I would also like to send out a unique Microsoft Teams invite to the user that booked the room. (I would think the formula would go in the 'OnSelect' function of the "Book" button)

jharville_2-1625255157017.png

 

Would anyone know what formula would send out a Teams Invite (linked to the Outlook time reservation that is already reserved when a user selects a room) to the user's email address when a button is clicked?

 

Thank you!

 

Categories:
I have the same question (0)
  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    You can use the Microsoft Teams connector, calling MicrosoftTeams.CreateTeamsMeeting() to do this. The function will need several arguments to respond correctly. See this document for the reference info.

  • jharville Profile Picture
    on at

    @BCLS776 

     

    I used your code and it sends out a separate Microsoft Teams meeting invite in my Outlook calendar. But when I book a room, it also sends a meeting reservation for that same time in Outlook, but without a Teams invite. So I have 2 invites, when I only need 1. 


    Instead of sending a separate Microsoft Teams invite, how do I format the automated Outlook meeting reservation to include a Teams invite link?

  • BCLS776 Profile Picture
    8,994 Moderator on at

    Could you share the code that runs when the meeting is confirmed on the ConfirmationScreen? Let's see what that is doing before we recommend further changes. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard