cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
OilPanic
New Member

Teams bot - get User properties

Hey all,

 

So I have created a bot for internal IT support. Connected it to a QNAMaker to answer questions. works great.

 

Now, when the bot answers our users we will follow-up with a question if their issue was resolved, if they press no the bot sends off a ticket to IT with the user question and the bot answer. Perfect. Now, the only thing missing is the user information itself - I cannot seem to figure out how to send the user email or username to Power Automate so our internal IT can see who actually made this request.

 

So I have to ask the user his/hers name which I want to avoid.

 

Any takes on this?

3 REPLIES 3
renatoromao
Super User
Super User

Hi @OilPanic ,

 

Great job!

You can create an authentication inside your bot, get the user token and send as a parameter to Power Automate and using Microsoft Graph to get user details.

Authentication doc: https://docs.microsoft.com/en-us/power-virtual-agents/advanced-end-user-authentication

Power Automate doc: https://docs.microsoft.com/en-us/power-virtual-agents/advanced-flow

Video to use Authentication inside PVA: https://www.youtube.com/watch?v=jjmCWw4z9N8


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

Well, its required that the users manually authenticate with the bot when they start talking to the bot. Its a way of doing it but it still gives you an extra step for the user - so not much difference in asking their email or asking them to authenticate?

You can create a question inside the topic, using the Identifier field as "Users entire response" and the answer will be staying inside the variable.

Two ways to do it.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

Helpful resources

Announcements
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,289)