Skip to main content

Notifications

Calling Actions from Copilot Studio
Unanswered

Have bot greet the user by AAD or o365 first name

Posted on by

Hi Guys, 

 

I there a way of having a PVA bot greet the person by using their AAD or o365 registered first name ? 

 

Person : Hello 

Bot reply:  Hello John 

 

" The user ( John Smith)  who said hello to the bot has an AAD or 0365 account in" 

  • LinkeD365 Profile Picture
    LinkeD365 105 on at
    Re: Have bot greet the user by AAD or o365 first name

    Thanks @ChristianAbata really was looking for an example of the use of the authcode generated in the PVA bot being passed to the graph api

  • cabata Profile Picture
    cabata 314 on at
    Re: Have bot greet the user by AAD or o365 first name

    hi @LinkeD365  I made a video about use Open Graph APIs see

    https://www.youtube.com/watch?v=eSwdxAJQmJU&t=4s

  • LinkeD365 Profile Picture
    LinkeD365 105 on at
    Re: Have bot greet the user by AAD or o365 first name

    Hey @Anonymous 

     

    Did you get the answer for this? I am struggling on doing the Graph API call with the token

     

    @renatoromao have you got an example of the flow that is used?

  • renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: Have bot greet the user by AAD or o365 first name

    Hi @Anonymous ,

     

    You can use the authentication method to get user login, after user insert credentials and logged in, you can send to Power Automate this token and call Microsoft Graph to get user information.

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

     

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…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 137,998

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard

Featured topics