cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
maxgraham
Level: Powered On

Office 365 Users - Search for Users

Hi all,

 

Objective: I want to build a flow that emails 365 users when a new document has been added to a specific OneDrive folder. The intended outcome is that a group of 365 users will be emailed that they are behind on their individual learning plans (ILPs) by having my Flow identify 365 user emails from a newly-added document and then email those users whose emails are in the document. I am using the following Flow structure:

 

Flow.jpg

Problem: Users are not getting any emails. The Flow runs successfully, but the 365 users in the documents do not receive an email. We have checked all email folders each time and found the email does not send. We have also verified the users I am attempting to email are in my 365 organization.

Note: If I attempt this Flow with one email by itself, the Flow is successful and also sends an email successfully, but I want to be able to do this with multiple users in the same document.

 

Context: The emails are redacted, of course. The red squares are meant to indicate where I am placing commas.

 

Please help, and thank you in advance for your time.

 

- Max

1 ACCEPTED SOLUTION

Accepted Solutions
maxgraham
Level: Powered On

Re: Office 365 Users - Search for Users

Hi @v-xida-msft,

 

I was able to find the solution on my own through trial and error. Thank you for taking the time to try to help me out! In the event someone asks a similar question (i.e. wanting to search for multiple O365 users in a document using a single flow), you may let them know that their solution is to add the steps to Search 365 Users within a scope. See below.

flow.JPG

 

View solution in original post

4 REPLIES 4
Community Support Team
Community Support Team

Re: Office 365 Users - Search for Users

Hi @maxgraham,

 

Could you please share a bit more about your new added document? Which file type is it?

Are there Office 365 user email addresses included in your new added document? Could you please share an sample about it?

Further, do you want to extract the email addresses from the file content of the new added document?

 

If you want to extract email address from the file content of the new added document, I afraid that there is no way to achieve your needs in Microsoft Flow currently. The File content dynamic content the "When a file is created" trigger returned is a binary data, there is no way to analyze binary data in Microsoft Flow currently.

 

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
maxgraham
Level: Powered On

Re: Office 365 Users - Search for Users

Hi @v-xida-msft,

 

Thanks for your fast reply! See below for answers to your questions.

 

"Could you please share a bit more about your new added document? Which file type is it?"

My new added document is an Excel file.

 

"Are there Office 365 user email addresses included in your new added document? Could you please share an sample about it?"

Yes, there are Office 365 user email addresses included in my new added document. Here is a sample document. For security reasons, I made up the email addresses in the sample document.

 

"Further, do you want to extract the email addresses from the file content of the new added document?"

No, I do not want to extract the email addresses from the file content of the new added document.

maxgraham
Level: Powered On

Re: Office 365 Users - Search for Users

Hi @v-xida-msft,

 

I wanted to check in to see if you knew of a solution, or if you were able to replicate this problem. I am almost certain it is user error on my part, but I would really like to be sure. Please let me know if there is any other information you can give me regarding this problem. I look forward to hearing from you!

maxgraham
Level: Powered On

Re: Office 365 Users - Search for Users

Hi @v-xida-msft,

 

I was able to find the solution on my own through trial and error. Thank you for taking the time to try to help me out! In the event someone asks a similar question (i.e. wanting to search for multiple O365 users in a document using a single flow), you may let them know that their solution is to add the steps to Search 365 Users within a scope. See below.

flow.JPG

 

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 316 members 4,502 guests
Recent signins:
Please welcome our newest community members: