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 Automate / Restrict a few email a...
Power Automate
Answered

Restrict a few email address from Outlook

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to create an email response system to which I want to send responses automatically. I want to restrict some email address. I am using when an email arrives as the trigger. Is there any way to achieve this?

Categories:
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    You can try to setup the configuration as:
     
    1) Initialize Variable -> Select the type as array and enter the value as:
    ["abc@test.com","abcd@test.com"]
     
    2) Now add a condition to check if the from email exist in restricted emails.
    Variable(Pass the dynamic content)   does not contain  FROM(from the dynamic content)
     
    You can add the actions inside Yes condition for actions to be performed when the email is not restricted.
     
    You can also check my post here to restrict emails on the trigger itself by adding trigger conditions: https://www.bythedevs.com/post/working-with-trigger-conditions-in-ms-flow 
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard