web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to search e-mail b...
Power Apps
Answered

How to search e-mail by categories

(0) ShareShare
ReportReport
Posted on by 20

Hi, guys.

 

I want to search e-mails by categories with Connect of Office 365 Outlook.

I could search with text by below formula.

Office365Outlook.GetEmails({fetchOnlyUnread:true, searchQuery:"Search Word"})

 

But I can't find option for category from  below page.

https://docs.microsoft.com/en-us/connectors/office365/#get-emails-(v3)

 

How should I do? I need your help.

 

Thank you.

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @hiro_nk 

    Sorry to say, you cannot search the categories.  Categories are individual preferences in email as opposed to system standards, so the connector does not support it.

    It's not included in the Microsoft Graph results, so they are not available in the connector.

     

    I don't see anyone requesting it in the Ideas Forum...you should consider putting it in the Ideas

     

    If not helpful, I at least hope this is informative for you.

     

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @hiro_nk ,

    Do you want to search emails by Categories through the Office 365 Outlook connector?

     

    I agree with @RandyHayes 's thought almost. If you want to search emails by Categories through the Office 365 Outlook connector, I afraid that there is no way to achieve your needs.

     

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

     

    Regards,

  • hiro_nk Profile Picture
    20 on at

    @v-xida-msft@RandyHayes 

     

    Hi, thank you for your reply.

    Hm.. OK, I got it. I will find another way.

     

     

  • Verified answer
    hiro_nk Profile Picture
    20 on at

    I cloud realize below formula.

     

    Office365Outlook.GetEmails({fetchOnlyUnread:false, searchQuery:"Category:'my category'"})

     

    Thanks 

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @hiro_nk 

    Good to see they have added the support for this now.

    However, keep in mind, Categories are personal preferences and not global to email.  So, if you have a "Business" category in your email, it does not mean that anyone else will.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard