cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joshobrien
New Member

Filter Query Event Attendee then Delete All Events

Hi, 

New to Power Automate/Flow and still getting my head around it all. 

However have an issue with one flow I can't seem to figure out. 

 

What I want to do is find all events where a particular person is an attendee, then delete/cancel all those events. However what I have currently keeps failing with the filter query for the attendee.

 

Any help to point out where I'm going wrong, or help with making what I'm trying to do work would be greatly appreciated. 

 

Power-Automate-RequiredAttendees.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
DamoBird365
Community Champion
Community Champion

Hey @joshobrien 

 

What's your error?  Is it "could not find the property names requiredAttendees"?

DamoBird365_0-1615879684822.png

In this case it would suggest the property is not available during the filter?  I also thought that potentially we could use the expression contain as presumably this person will be 1 of many potential attendees and is therefore not equal but if the field is not supported by the filter, you have to look at alternatives.

 

Having reviewed https://docs.microsoft.com/en-us/connectors/office365/#get-events-(v4) and tested the filter on Title eq 'Test Event' - which works - I believe that the above field isn't available as it isn't a string or number column.

 

So, if you were to perform the get events action on all events, you can then use a filter array action where the email is contained within the output of the get events action.

 

DamoBird365_1-1615879885774.png

 

The output of the filter array can then be used for your delete apply to each.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien

 

 

View solution in original post

1 REPLY 1
DamoBird365
Community Champion
Community Champion

Hey @joshobrien 

 

What's your error?  Is it "could not find the property names requiredAttendees"?

DamoBird365_0-1615879684822.png

In this case it would suggest the property is not available during the filter?  I also thought that potentially we could use the expression contain as presumably this person will be 1 of many potential attendees and is therefore not equal but if the field is not supported by the filter, you have to look at alternatives.

 

Having reviewed https://docs.microsoft.com/en-us/connectors/office365/#get-events-(v4) and tested the filter on Title eq 'Test Event' - which works - I believe that the above field isn't available as it isn't a string or number column.

 

So, if you were to perform the get events action on all events, you can then use a filter array action where the email is contained within the output of the get events action.

 

DamoBird365_1-1615879885774.png

 

The output of the filter array can then be used for your delete apply to each.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien

 

 

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (53,655)