Skip to main content
Community site session details

Community site session details

Session Id : Ed4O0neNDPxQlchimFTg2S
Power Automate - Using Flows
Answered

Microsoft 365 Users Search for Users returns duplicates

Like (0) ShareShare
ReportReport
Posted on 30 Jul 2020 16:01:37 by

Hi,

 

I'm building a flow where I need to gather email addresses for some of our 365 users and send them. It's all working fine, except everyone is getting 2 emails. I checked the outputs from each step and it seems that when I use this connector, it returns matching users twice. I verified this by putting the output from this connector into Notepad++ and searching for duplicate IDs. Every user is listed twice in the output.

 

Has anyone else come across this, or can anyone recommend a way of removing these duplicate results?

 

Thanks

  • Verified answer
    v-alzhan-msft Profile Picture
    on 31 Jul 2020 at 02:32:32
    Re: Microsoft 365 Users Search for Users returns duplicates

    Hi @Anonymous ,

     

    Could you please share the screenshot of the configuration and the run history of the flow?

    Does the Search for users action would return the same user twice?

    Could you please check each user is unique in the Microsoft o365 users, the Search for users action would return all the filtered users.

    If you want to get the special user profile, you should use the Get user profile action instead.\

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Jcook Profile Picture
    7,779 Most Valuable Professional on 30 Jul 2020 at 20:35:42
    Re: Microsoft 365 Users Search for Users returns duplicates

    Hello @Anonymous 

     

    Could You share a screenshot of your flow.

     

    thanks

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 our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Restore a deleted flow