Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Get User details via flow in Power virtual agent

Hi All,


I am using flow to get user details based on name i searched in PVA via power automate flow.


But every time i search a name i get blank output.

I tried using manual trigger then it works fine but not with Virtual agent trigger.


Please help


Attached screenshot of error gettingPVA Issue.jpg

Dual Super User
Dual Super User

Hi @ashish300789,


Like the error states, it cannot find a profile based on an empty value. Since the Search for Users returns [] the next action (Get user profile (v2)) won't work.


What are you using for your search term? Are you retrieving the displayname or the user id talking to the bot dynamically? And if so, have you mapped that to either the bot.UserDisplayName or bot.UserId in your bot topic as well?


Or are you just asking a question and using the answer for the search?




Helpful resources

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

PVA Community Blog Build Carousel (1) (1).png

What does the community say?

Discover what our community thinks about the announcements at Build 2022.

June 14th PVA AMA Carousel (up on May 25th, take down June 15th) (1).png

'Ask Microsoft Anything' about Power Virtual Agents!

Join the community to ask questions and provide helpful answers about Microsoft's conversational AI and Power Virtual Agents.

Users online (1,577)