Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Microsoft Bookings - Add Poly Teams Device to All virtual appointments

(0) ShareShare
ReportReport
Posted on by

Hello MS PowerUsers,

I hope someone in the community can help.   

We have Microsoft Bookings setup and working nicely.   However one of the booking types is a virtual booking that I need to add a Meeting room resource (Poly Teams Device)

 

I have tried to setup an Flow to trigger on new event in the calendar, check the subject for the event and if it states Virutal appointment to then update with the additional attendee.    The addition of the user appears to be working correctly, however the room system cannot join the online meeting.    

 

I then tried to use the Graph API to update the event with "isOnlineMeeting": true and "onlineMeetingProvider": "teamsForBusiness".   Although the flow appears to work,  the meeting remains un-joinable by the room system.

 

If I manually create an appointment and exclude the teams link the flow works successfully and allows the room system to join. The flow appears that it fails on events that are created by Microsoft booking system.  

 

Flow Construction

  1. When a new event is created (V3)
    1. Calendar id = Calendar
  2. Get event (V3)
    1. Calendar id = Calendar
    2. Item id = id 
  3. Condition
    1. "Subject" is equal to "Virtual Appointment
      1. If Yes
        1. Update Event (V4)
          1. Calendar id = Calendar
          2. id = id
          3. subject = subject
          4. starttime = addhours(currentstart, 10)
          5. endtime = addhours(currentend, 10)
          6. Timezone +10
          7. Required Attendees = required attendees
          8. Optional Attendees = optional attendees
          9. Resource Attendees = resource attendees + room@...
          10. Body = body
          11. location = location
          12. show as = busy
        2. Invoke an HTTP request
          1. Method = PATCH
          2. URL = https://graph.microsoft.com/v1.0/me/events/@{outputs('Get_event_(V3)')?['body/id']}
          3. Headers
            1. Key = Content-Type
            2. Value = application/json
          4. Body
            1. {
              "originalStartTimeZone": "originalStartTimeZone-value",
              "originalEndTimeZone": "originalEndTimeZone-value",
              "isOnlineMeeting": true,
              "onlineMeetingProvider": "teamsForBusiness",
              }
      2. If No
        1. Do Nothing.

 

 

   

 

 

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492