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

get contacts - odata query filter for emailAddresses

i'm trying to figure out how to format the filter query to filter the contacts based on the email address. i've tried several variations but i can't figure it out. if i do displayName eq 'First Last' that works fine. i just don't know how to format it when the data looks like:

 

"emailAddresses": [
{
"name": "some@one.com",
"address": "some@one.com"
}

 

Screen Shot 2021-01-23 at 10.32.59 PM.png

 

any help would be greatly appreciated. 

 

map

1 ACCEPTED SOLUTION

Accepted Solutions
mapile53
New Member

i think i found my answer in a random tab in my browser that i missed before. in case anyone else ever looks for it - emailAddresses/any(a:a/address eq '@domain.com')

View solution in original post

2 REPLIES 2
mapile53
New Member

i think i found my answer in a random tab in my browser that i missed before. in case anyone else ever looks for it - emailAddresses/any(a:a/address eq '@domain.com')

v-litu-msft
Community Support
Community Support

Hi @mapile53,

 

I am glad your issue has been solved.
If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

Best Regards,
Community Support Team _ Lin Tu

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,431)