Skip to main content


Copilot Studio - General

Retrieve UserName from Bot

Posted on by 9

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 4 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 6 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,459 on at
    Re: Retrieve UserName from Bot

    Hi @MillerNation ,


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


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

    Renato Romão



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,995

Expiscornovus Profile Picture

Expiscornovus 1,708