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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / User Display Name Vari...
Copilot Studio
Answered

User Display Name Variable Missing

(0) ShareShare
ReportReport
Posted on by 21

The bot.userdisplayname variable is missing in the licensed version of Power Virtual Agent.  In PVA for Teams, the variable is available in the dropdown to return the user display name in Message.  Does anyone have an idea on how to enable it?  

PVA.PNG
Categories:
I have the same question (0)
  • Verified answer
    HenryJammes Profile Picture
    Microsoft Employee on at

    Hi @Flowingpl,

     

    For these variables to become available, you need to add user authentication to your chatbot.

    To change your bot's authentication settings, in the navigation menu under Settings, go to the Security tab and select the Authentication card.

     

    In PVA for Teams, it's by default set to "Only in Teams" as there are no other channels.

     

    This is documented here: Configure user authentication - Power Virtual Agents | Microsoft Learn.

     

    Henry

  • Flowingpl Profile Picture
    21 on at

    Thanks for pointing me in the right direction!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 633

#2
Vish WR Profile Picture

Vish WR 301

#3
Haque Profile Picture

Haque 216

Last 30 days Overall leaderboard