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 / 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
    579 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

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 619

#2
chiaraalina Profile Picture

chiaraalina 163 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 147

Last 30 days Overall leaderboard