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 / Microsoft 365 Users Se...
Power Automate
Answered

Microsoft 365 Users Search for Users returns duplicates

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Categories:
I have the same question (0)
  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @Anonymous 

     

    Could You share a screenshot of your flow.

     

    thanks

  • Verified answer
    v-alzhan-msft Profile Picture
    Microsoft Employee on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,005

#2
Valantis Profile Picture

Valantis 825

#3
Haque Profile Picture

Haque 619

Last 30 days Overall leaderboard