cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
schaubey
Level: Powered On

Filter Teams based on expiration date using MS Graph API

I am trying to filter all teams that are set to expire on a particular day. But I am not getting the correct result.

Query that I tried are as follows.

1. https://graph.microsoft.com/beta/groups?$filter=resourceProvisioningOptions/Any(x:x eq 'Team')&startswith(expirationDateTime,'2019-07-04') 

2. https://graph.microsoft.com/beta/groups?$filter=resourceProvisioningOptions/Any(x:x eq 'Team')& expirationDateTime  eq 2020-06-18T12:30:38Z

 

the above query is also returing me teams whose expiry date is not 2019-07-04 

 

Any idea / help will be welcomed. 

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors
Users online (5,252)