Hi Everyone,
I have a question that I'm sure other people would have but I can't find it asked anywhere...
I have a PVA bot published through Teams with "Teams only" authentication turned on. It's great that the bot can already detect who it is speaking to, I just want the bot to be able to know the email address of the person it is talking to so when it needs to send an email to the person, it doesn't have to ask.
TLDR:
Does anyone know how to retrieve the email address of the authenticated user and store as a variable?
Hi @Mitbro ,
Today, the authentication return back only UserDisplayName and UserID inside the Teams.
If you want to improve and get more details about this current user, you need to follow the steps below:
1- Create an action inside your Greeting topic or another topic that you want
2- Connect this action with a new workflow inside the Power Automate
3- Inside your Power Automate workflow, get the User data using the Microsoft Graph
You can understand better inside these articles:
Romain The Low-Code...
76
Pablo Roldan
61
stampcoin
10