web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Looking up users via t...
Copilot Studio
Unanswered

Looking up users via their names

(0) ShareShare
ReportReport
Posted on by 69

Hello there, 

 

I've already implemented a power automate flow to obtain user data based on their bot.DisplayName with both the Search for Users and Get User Profile actions. This flow wouldn't work upon entering anything other than DisplayName or UserID.

 

I'd like to extend this such that someone conversing with the chatbot could ask for a fellow employee's details from their name - their email for instance. (Think of the dropdown list that comes up when you're trying to mention someone in MS Teams). Is there a way to implement this? 

Categories:
I have the same question (0)
  • MattJimison Profile Picture
    577 Most Valuable Professional on at

    When asking a question you could use the "Person name" entity to extract just their name from the response, or the "Email" entity if you want to ask for their email address, but that will still be a string representation in both cases.

     

    After getting the value, you could then pass it to a Power Automate flow and use the "Search for users (V2)" action to use that information to gather additional details about that specific user.

     

    If you're otherwise looking for a people picker within PVA, there's currently no way to do that either via a Question or an adaptive card.

     


    Find this post helpful? Please mark it as the solution and/or provide kudos so that it will help others in the future.

    Cheers,
    Matt

  • Renad Profile Picture
    69 on at

    Already tried that but it only works for display names i.e. LastName, FirstName. Thus, passing an employee's name wouldn't yield anything.

    Renad_0-1686816299382.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 251 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 201 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard