Skip to main content

Notifications

Copilot Studio - General
Answered

Retrieve UserName from Bot

Posted on by 29

My Organization has Office 365.  I'm trying to get the user's name from Virtual Agent on my webpage without having the user enter their name.  I can't seem to find a solution

  • JulioC Profile Picture
    JulioC 6 on at
    Re: Retrieve UserName from Bot

    Hi @BatInDaCave,

    Did you manage to solve the problem?

    I have the same problem.

  • BatInDaCave Profile Picture
    BatInDaCave 25 on at
    Re: Retrieve UserName from Bot

    Totally agree with what @Yoghurt  said.

     

    the purpose is to avoid user to enter their name during the conversation, instead, they now get a login window to enter their email and password. #Counterproductive. 

  • Yoghurt Profile Picture
    Yoghurt 12 on at
    Re: Retrieve UserName from Bot

    It sounds weird. If I'd make a bot for a Teams channel, why there is another authentication needed? And image how could I add an app to azure ad at a big enterprise...

  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: Retrieve UserName from Bot

    Hi @MillerNation ,

     

    You need to implement the Authentication to connect in Office 365: 

    https://docs.microsoft.com/en-us/power-virtual-agents/configuration-end-user-authentication

    https://docs.microsoft.com/en-us/power-virtual-agents/advanced-end-user-authentication

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

     

     

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Getting Started…

Welcome to the Power Platform Community! We appreciate your visit…

Welcome to the new Power Platform Community!…

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 138,016

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,075

Leaderboard