Hi,
I've created a Flow that invites new starters (New Attendee) to a companywide calendar event organised in Teams. It's supposed to set the hideAttendees parameter to true to prevent everyone getting emailed the invite when only a single attendee is added. I've used these two guides to give me a starting point and then my own knowledge to build this out:
Update Event and Hide Attendees - DamoBird365
Efficient Event Management: Update Attendees list with Graph API in Power Automate - YouTube
The Flow hooks into Office 365 Groups, grabs an event filtered by subject and checks to see if the value in the JSON body of hideAttendees is set to true (last step in the below graphic).
(Start of Flow)
This is the JSON step:
and the value {"hideAttendees": false} is contained within the Output body:
I've then created a Condition to check if that value is set to true already (due to errors when adding more Attendees if it was). This part begins where (Start of Flow) finishes:
This Condition evaluates correctly (where {"hideAttendees": false} is set) and passes down the If no side:
Whereby it errors with: