Skip to main content

Notifications

Calling Actions from Copilot Studio
Unanswered

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

Matthew5_0-1658914623637.png

 

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…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,997

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard

Featured topics