web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / PVA no longer allowing...
Copilot Studio
Answered

PVA no longer allowing me to get bot.UserDisplayName

(0) ShareShare
ReportReport
Posted on by 69

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.

Renad_0-1686486038987.png

 

Categories:
I have the same question (0)
  • Renad Profile Picture
    69 on at

    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)

  • Pstork1 Profile Picture
    68,858 Most Valuable Professional on at

    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.

    image.png

  • Renad Profile Picture
    69 on at

    I'm working with the PVA version on teams though - not deploying to teams. 

  • Renad Profile Picture
    69 on at

    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. 

  • Verified answer
    Pstork1 Profile Picture
    68,858 Most Valuable Professional on at

    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

  • Renad Profile Picture
    69 on at

    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. 

  • Pstork1 Profile Picture
    68,858 Most Valuable Professional on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 259

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 189 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 119

Last 30 days Overall leaderboard