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 / Targeting a Meeting wh...
Power Automate
Answered

Targeting a Meeting when I don't have the ID

(0) ShareShare
ReportReport
Posted on by

Hi all,

 since I think I'm doing something New™, I thought I'd ask about it here.

 

At the start of my flow, MS bookings creates a meeting, which triggers the flow ('When an appointment is created' Trigger).

 

Then lots of boring stuff happens, but at the end some condition means the event has to be deleted. The Delete Event action needs the meeting ID.

The Trigger does not have the actual meeting ID as an output (it says it does, but it lies/is outdated). It does have a whole lot of information that is shared with the meeting, including some unique identifiers, such as the Joinweburl/joinurl element. 

 

I there a way to say: Take the ID from the meeting that also has this unique identifier?

 

Thanks everyone in advance

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,194 Most Valuable Professional on at

    Hi @Freek_de_Wijs,

     

    You are correct, the id is deprecated in the connector. This is also outlined in the documentation:

    https://learn.microsoft.com/en-us/connectors/microsoftbookings/#appointmentdata

     

    However, in the Graph API methods the id is still used. You can use the SelfServiceAppointmentId to find the matching id and use that in a Delete bookingAppointment method, https://learn.microsoft.com/en-us/graph/api/bookingappointment-delete?view=graph-rest-1.0&tabs=http

     

    selfserviceappointmentid.png

     

    Below is an example

    I haven't used a condition in this example, obviously that is needed for the setup. Otherwise every new booking would automatically be deleted 😁

     

    1. HTTP request is used to list booking appointments, https://learn.microsoft.com/en-us/graph/api/bookingbusiness-list-appointments?view=graph-rest-1.0&tabs=http

     

    2. Filter Array expression

    @equals(item()['selfServiceAppointmentId'], triggerOutputs()?['body/SelfServiceAppointmentId'])

     

    3. URI for the second HTTP request to delete the first matching booking appointment found in the results of the filter array.

    https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/consotos@qorerauk.onmicrosoft.com/appointments/@{first(body('Filter_Array'))['Id']}

     

    deletebooking.png

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