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 / Unable to send batch e...
Power Automate
Answered

Unable to send batch email via Outlook365

(0) ShareShare
ReportReport
Posted on by 9

Hi folks,

I am creating a flow to send batch email (1 email with 100s random recipients within same organization), sometimes the flow ran successfully if all 100 email addresses were valid. However the flow would failed and stopped if it found any email address invalid in the origanzation (e.g. staff resigned and email account removed), no one in the batch would receive the email. Is there any setting or tricks I can apply to make the flow skipping such error to keep sending email to the rest recipients?

 

I personally now amended the flow to send email one by one, end up Outlook365 not allow me to proceed later and said I am sending spam.

Categories:
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @michaelone ,

     

    You could use Office 365 user connector to check if the user is still in the organization.

    Use Get user profile action or Search for users action to search for user information. If it is available, the email address is valid.

     

    I recommend using Search for users action, please refer to the following method to configure Flow.

    • Use String variable to store the email addresses of all recipients, separated by semicolons.
    • Initialize another String variable to store valid email address.
    • Use split() function to separate the first variable and iterate through each email.
    • Configure the email address in Search for users action, and append the email address obtained by this action to the variable.

    The logic here is that if Body of Search for users action is empty, the actions in Apply to each 2 will not be executed.

    Image reference:

    10.PNG11.PNG

     

    Hope it helps.

     

    Best Regards,

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
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard