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 Automate
Answered

Issue with Conditions

(0) ShareShare
ReportReport
Posted on by 57
I'm having users submit a Microsoft Form to initiate a Power Automate flow. I then take the Responders E-mail address from the Form and plug it into a "Get AD Info of Users". 
 
I am then using the e-mail address from Get AD Info of User and putting a condition on it. 
 
If the users e-mail is equal to *a specific email address*, then do this. 
If the users e-mail is not equal to *a specific email address, then do this. 
 
This is the condition that is returning FALSE even though the email address of the requestor DOES EQUAL THIS.  Any idea what I am doing wrong? 
 
 
 
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at
     
    Can you remove the quotes around the email value and try again?
     
    Strings are case sensitive, make sure you use the right casing as well.
     
     
     
  • mrichards1371 Profile Picture
    57 on at
    Hi @Expiscornovus​​​​​​​ I removed the single quotes but I ran into another problem. When I submit a form using my email address (in this example, my email is myemailtest.com), both of these conditions are returning true and I am receiving both emails. How is this possible? 
     
  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at
     
    Yes, I would have expected that outcome because of your setup. You are use the myemail check in both conditions, so both conditions will return true.
     
    In condition one the mail needs to be myemail or othermail which is true. In condition 2 the mail needs to be myemail or othermail which is also true
     
    Can you only use one row per condition action?
     
    Condition
    Mail is equal to myemail
     
    Condition 2 
    Mail is equal to otheremail
  • Micky Profile Picture
    365 Moderator on at
    Hello,
     
    Try using toLower() expression for both variables that is being used for the condition, this is to make sure that the condition parameters are converted to lower case and avoid case mismatch.
     
    Regards,
    MMPoweR
  • mrichards1371 Profile Picture
    57 on at
    It's pretty crazy that I would have to create a condition for each individual e-mail. 
     
    All I want to do is: If the person submitting the form has an email address DOES equal Email1 or Email2, then do this. If the persons email does DOES NOT equal Email1 or Email2, then do this. 
     
    Sounds so simple but power automate is driving me nuts trying to figure this out. The flow is very complex as it is so I feel like making a separate condition for each email will bog it down even more. 
  • Verified answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at
    Hi,
     
    I think your last reply clarified your requirements.
     
    With the latest logic you shared you only need one condition and place the actions you want to execute if it does not equal to either of the values in the If No section.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard