As I start to think about setting up topics for my first bot, I've realized that all of my interactions would be much easier (and shorter) if I knew not only the name of the person the bot was talking to, but also the information contained in say, their Outlook profile.
How do you get access to that level of information about the user that initiates the chat?
So -- person's physical location, department they belong to, etc.
Thanks everyone!
Hi @JohnH ,
You need the Administrator's consent to allow access to the user information.
Basically, you can follow this post to help you better: https://powerusers.microsoft.com/t5/General/Retrieve-email-address-from-authenticated-user-profile/m-p/721746
Thanks @renatoromao
using the Only For Teams Authentication (under Manage/Security) -- how would i create a flow to return user information (from graph or elsewhere?).
Or -- to get to the level of information I want, do I have to use Manual (which appears to be a much more in depth process and looks to require Admin assistance?)
Hi @JohnH ,
You can connect using the Authentication to get more details about the user: https://docs.microsoft.com/en-us/power-virtual-agents/teams/advanced-end-user-authentication-teams
After to get the current authentication, you can call the Power Automate workflow to get the details using the Microsoft Graph API.