Skip to main content


Calling Actions from Copilot Studio

Search For Users (V2) Multiple Users With Same Name

Posted on by 94

Hi there, 

I have flow set up to capture and record in a document a PVA user & their line manager. I've since discovered there are a number of employees with the same name e.g. Joe Bloggs which automate is then capturing the wrong Joe Bloggs' manager. 


Is there a way to capture the actual bot users manager even if they have the same name as someone else? 


Currently I'm capturing their username via the bot authentication, searching for that user via their username and then getting that users profile & manager via their UPN. So I have a feeling the issue lies within the 'Search for users (V2)' since UPN is unique, it must be picking the wrong user at that point?

Thank you



Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…


renatoromao Profile Picture

renatoromao 6,459

Pstork1 Profile Picture

Pstork1 1,997

Expiscornovus Profile Picture

Expiscornovus 1,708


Featured topics