Skip to main content

Notifications

Community site session details
Power Automate - General Discussion
Answered

Trying to check if the user's account exist using power automate

Like (0) ShareShare
ReportReport
Posted on 21 Jun 2022 12:25:56 by 150

Hi everyone !

 

I'm trying to make a flow that checks if the user has a microsoft 365 account or not. I can't seem to make it to work, can anyone help me ?

 

Githendra23_0-1655814337640.png

Thanks!

  • Verified answer
    ScottShearer Profile Picture
    25,223 Most Valuable Professional on 21 Jun 2022 at 14:05:02
    Re: Trying to check if the user's account exist using power automate

    @Githendra23 

    If you want to use a condition, you can use the Search for users action - see my example below.  In my example,  the condition returns true if the user is not found.

    image.png

  • ScottShearer Profile Picture
    25,223 Most Valuable Professional on 21 Jun 2022 at 14:00:13
    Re: Trying to check if the user's account exist using power automate

    @Githendra23 

    In short, no, if you are using the Get user profile action as it errors if the user is not found.  My example performs the same function as a condition.  If you need additional actions following the emails, you could use Scopes and set the run after on the scope instead of the individual actions.

     

  • Githendra23 Profile Picture
    150 on 21 Jun 2022 at 13:55:49
    Re: Trying to check if the user's account exist using power automate

    Hi @ScottShearer 

     

    Isn't it possible with a condition?

  • ScottShearer Profile Picture
    25,223 Most Valuable Professional on 21 Jun 2022 at 13:35:52
    Re: Trying to check if the user's account exist using power automate

    @Githendra23 

    It looks like the Get user profile action errors if the user is not found.  You can leverage the "Run after" settings to make your Flow work - see my example below.

    image.pngimage.pngimage.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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - General Discussion

#1
stampcoin Profile Picture

stampcoin 23

#2
Pstork1 Profile Picture

Pstork1 20 Most Valuable Professional

#3
Gprior Profile Picture

Gprior 19

Overall leaderboard
Loading started
Loading started