Notifications
Announcements
Hello there,
Created several power automate flows based on obtaining the user info from bot.UserDisplayName upon the user typing one of the trigger statements. However, no system variables (bot.UserDisplayName and bot.UserID) are showing up. I have tried authoring another bot with another account and it showed up as expected. Both accounts are on the trial version in MS teams.
I would like to know what I can do to get it to show up since it has rendered the whole bot unfunctional.
I am now aware of the fact that this feature is buggy in the preview version, however, I'm using PVA on teams (not unified authoring canvas preview)
The existence of these variables is dependent on the authentication you are using for your bot. If you are in Teams then the authentication should be Teams and the variables should be there. But if you are inside Teams you don't need a Trial since PVA is included in the Teams license. So if you are using a trial license and deploying to Teams are you sure you've set the authentication to Teams only? This is a screenshot of a flow built with the Teams PVA client.
I'm working with the PVA version on teams though - not deploying to teams.
Additionally I never needed to configure authentication for previous bots I've made so I'm kind of at a loss as to how to do that.
If you are working with the PVA client inside Teams then you can only deploy to Teams. If you are working with the Web PVA client then you need to configure authentication to get the user variables. Here's the article on how to configure authentication. Configure user authentication - Power Virtual Agents | Microsoft Learn
I'm on the teams client though and according to you there's no authentication needed since it's not the web version yet I'm still facing this issue.
The authentication settings are still there, they just default to Teams in the Teams client. I'm not sure why else the variables wouldn't be available.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 259
Romain The Low-Code... 189 Super User 2025 Season 2
chiaraalina 119