Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ihOAgd/FQJaJ6tRG+IsazK
Power Automate - Building Flows
Answered

OData Filter Query on Person Field

Like (0) ShareShare
ReportReport
Posted on 12 Sep 2022 11:21:23 by 2,987 Super User 2025 Season 1

I am having issues trying to query a person field in a SPO list using the following syntax:

 

LessonOwner/Email eq 'help.me@please.com'  (Note: LessonOwner is the internal field name)
 
The problem is I get the following error when running the flow - I cannot see any issue with the field and I tried deleting and replacing this field with the exact same display/internal name adn still ended up with the same error. If I switch the query to AN Other field, there is no error
 
AmDev_0-1662981530862.png

 

Any help would be really appreciated.

  • Gerard Simpson Profile Picture
    2,987 Super User 2025 Season 1 on 12 Sep 2022 at 13:55:47
    Re: OData Filter Query on Person Field

    Brilliant - Thanks @Expiscornovus ๐Ÿ‘ - Cant believe I missed that 

     

    Worst thing is, I had this working previously in another flow, but when adapting it as part of a new solution, I referred to how the fields were written internally by SPO.. what was I thinking!? ๐Ÿ˜… 

  • Verified answer
    Expiscornovus Profile Picture
    31,671 Most Valuable Professional on 12 Sep 2022 at 12:26:12
    Re: OData Filter Query on Person Field

    Hi @AmDev,

     

    As far as I am aware the Email property still needs to be written with a capital M (yes, pretty quirky gotcha ๐Ÿ˜). So LessonOwner/EMail instead of LessonOwner/Email.

     

    Can you try:

     

    LessonOwner/EMail eq 'help.me@please.com' 

     

     

    https://powerusers.microsoft.com/t5/Building-Flows/ODATA-filter-on-Get-Items-returns-error-nested-email-of-a-SP/td-p/1457203

     

  • Redders Profile Picture
    546 on 12 Sep 2022 at 11:26:31
    Re: OData Filter Query on Person Field

    .

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz โ€“ Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Communityโ€ฆ

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 91

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 70 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 48 Super User 2025 Season 1

Overall leaderboard
Loading started