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 / Create a condition tha...
Power Automate
Unanswered

Create a condition that checks to see if an email is an o365 user versus just smtp

(0) ShareShare
ReportReport
Posted on by 20

I have a flow that checks a shared mailbox.  when an email comes in I use get profile v2 to add the user's department, phone and manager.  This works great for internal O365 emails, but this mailbox also gets smtp email from non O365 users.  The error returned is a 404.  and it causes intermittent failures.

 

I have tried a number of conditions, and tried to write an expression, but no luck.  Anyone else having this issue?

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @AndyMark

    Did you try to use split(from,'@') [1]

    This will get the domain part and then you can compare it against your domain before performing any logic

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 274 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 175

#3
Haque Profile Picture

Haque 166

Last 30 days Overall leaderboard