Skip to main content


Power Platform Community / Forums / General / User Display Name Vari...

User Display Name Variable Missing

Posted on by 12

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?  

  • Flowingpl Profile Picture
    Flowingpl 12 on at
    Re: User Display Name Variable Missing

    Thanks for pointing me in the right direction!

  • Verified answer
    HenryJammes Profile Picture
    HenryJammes on at
    Re: User Display Name Variable Missing

    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.



Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…


renatoromao Profile Picture

renatoromao 6,459

Pstork1 Profile Picture

Pstork1 1,990

Expiscornovus Profile Picture

Expiscornovus 1,700