Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Exclude an email from All_Users@domain

(0) ShareShare
ReportReport
Posted on by 4
 

I have this flow that when a new email arrives it forwards to a set of users including All_Users @ domain with the same email domain, I wish to exclude one specific email that has the same email domain from All_Users. Advance thank you to anyone that can help

ex: forward the email to All_Users @ domain except johndoe @ domain 

 

 

avox111_1-1688695143623.png

 

  • trice602 Profile Picture
    13,773 Super User 2025 Season 1 on at
    Re: Exclude an email from All_Users@domain

    Yes, it is everyone in your tenant and you don't have to specify anything.

     

    trice602_0-1688710031225.png

     

  • avox111 Profile Picture
    4 on at
    Re: Exclude an email from All_Users@domain

    Hello trice! thank you for replying.

    quick question, when you tested it did you also used all_users@ domain  as email? 

  • trice602 Profile Picture
    13,773 Super User 2025 Season 1 on at
    Re: Exclude an email from All_Users@domain

    One quick note, your 'emaildistro' variable is a string and you append your string variable with a semicolon to create your email distro.

     

    trice602_2-1688709106403.png

     

    trice602_3-1688709140016.png

     

  • trice602 Profile Picture
    13,773 Super User 2025 Season 1 on at
    Re: Exclude an email from All_Users@domain

    Hi @avox111 ,

     

    Here's a working solution - please mark as solution so others can find it quickly too.  In my test, I removed one of my users at my domain with a condition and added everyone else to a variable.  From there, you can come up with an email distro that is everyone BUT that one person you need to exclude.  Let me know if this works for you - always glad to help!  Tom

     

    Please note 'List Users' is a Premium action.

     

    trice602_1-1688708168635.png

     

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492