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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft Bookings - A...
Power Automate
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.

 

 

   

 

 

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard