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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Unique replies to same...
Copilot Studio
Unanswered

Unique replies to same query by users

(0) ShareShare
ReportReport
Posted on by

We are in process of building a chatbot where the business has 2 set of personas. One needs to be authenticated via AAD and we need to create a sign in for these set of users, the other persona does not need a sign in. Is this possible to create 2 personas on PVA. Additionally if this is possible for these 2 personas can PVA throw different answers to their queries. 

Example: Team from billing persona -Team A asks for payment method options - this is the group that needs to be authenticated and then see a response. 

Other users from outside organization does not need to login and sees only basic information. 

Please suggest if this is a possibility. 

 

Thanks, Shivi

Categories:
I have the same question (0)
  • HenryJammes Profile Picture
    on at

    Hi @Anonymous,

     

    I'm not 100% sure if the bot can work both unauthenticated and authenticated at the same time.

    Couple of reference documents that may help:

     

    For your question about contextualized topic logic based on the user context, this should possible if you set variables (e.g. AuthenticatedUser yes or no) and base condition nodes on these values.

     

    Out of curiosity, given the different scenarios, have you considered creating 2 chatbots?

     

    Henry

  • Community Power Platform Member Profile Picture
    on at

    Hi @HenryJammes thank you so much for the reply, slight miscommunication from my end - in all cases user has to be authenticated but the medium of authentication would be different - example: AAD vs OAuth 2.0 and OpenID Connect standard-compliant authentication service. I was researching that it is possible by creating/ using Global Variables options. UNfortuantely in the admin tab i am not able to figure where to locate this option. 

    The help link is also broken: https://docs.microsoft.com/en-us/power-virtual-agents/global-variables-create

     

    Could you please route if there is a link or way to create global variables from admin portal. 

     

    Thank you.

  • HenryJammes Profile Picture
    on at

    Hi @Anonymous, can you share a screenshot of where that link was displayed?

     

    In the current version of PVA, this is where PVA 'global' variables are described: Work with chatbot variables - Power Virtual Agents | Microsoft Learn. In that version, variables can be created as a question output of a Bot Framework Composer custom dialog output.

     

    In the unified authoring canvas (now in preview), variable management is much easier: Reuse variables across topics (preview) - Power Virtual Agents | Microsoft Learn

  • Community Power Platform Member Profile Picture
    on at

    Hi Henry 

    i did check stackoverflow and GTP3 to get the reply, added a screen shot for reference. it also suggested how to create it using if then else statement: 

    Shivi82_0-1677705457239.png and this 

    Shivi82_1-1677705503142.png

    In our scenario we have 3 types of users- unidentified i.e. not signed in, then sign in through SSO and OAuth 2.0. 

     

    Thanks, Shivi

     

  • Verified answer
    HenryJammes Profile Picture
    on at

    Not sure about the guidance from ChatGPT, I'm guessing it's providing examples for a custom chat control? 

    On creating and setting global variables in the production version of PVA, you can get inspiration from this recent post I did: Set and update global variables using Bot Framework Composer and how to retain conversation context when interacting with OpenAI GPT models

  • Community Power Platform Member Profile Picture
    on at

    Thank you Henry for all your help. 

     

    Regards, Shivi

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard