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.
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.
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.
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
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.
I'm working with the PVA version on teams though - not deploying to teams.
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 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)