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

Community site session details

Session Id : 1n9GYS6M7HDn9nlezDIOlT
Copilot Studio - General
Unanswered

How to connect bot created using PVA to a Bot framework Virtual agent.

Like (1) ShareShare
ReportReport
Posted on 6 Dec 2019 19:43:46 by

We have a architecture of BOTs created using Bot frameworks Virtual Assistant. We have few Skill bots or I can call them Skills which are connected to master Virtual Assistant bot. Here is some info on Skills. Out of the Box Virtual Assistant has capability to reach out to each Skill bot or Skill using Http Adapter built by MBF. We as a consumer have just been building skills or I can say writing code/dialogs using BF to support scenarios we want and then we just connect new bot to Virtual Assistant.

Note: We need 2 things ( explained here ) in order to connect to a Skill bot from Virtual Assistant. One is Bots ID and second is Bots deployed endpoint.

Q1. I am interested to know if we can connect a bot built using PVA to a Virtual Assistant ?
Clearly I would need two things I mentioned above.

I managed to build a bot using PVA and deployed that to Ms team channel. So in this process I was able to grab Bot ID.
Q2. Where can I find hosted messaged endpoint URL for this bot ?


Q3. Where are these bots hosted which are built using PVA ?

Categories:
  • Community Power Platform Member Profile Picture
    on 05 Feb 2020 at 19:25:01
    Re: How to connect bot created using PVA to a Bot framework Virtual agent.

    Hi @4LB3r7 , 

    RelayBotSample, is mentioned on page 'Add Power Virtual Agent bot to Azure Bot Service channels' which is nothing but if we want to connect our bot to end users on Azure Bot Service channels. This means we have existing Azure bot service using V4 SDK and not to confused this with Microsoft Bot Framework Virtual Assistant. As both are different code stacks, meaning a v4 BF bot is little different that Bf virtual assistant. 

    So what is your recommendation? RelayBotSample,  OR BotConnectorApp

     

     

     

  • 4LB3r7 Profile Picture
    on 19 Dec 2019 at 07:08:49
    Re: How to connect bot created using PVA to a Bot framework Virtual agent.

    Hi @Anonymous,

    You are right. You should look at how RelayBotSample, then you are going to understand how to use bot connector protocol to call PVA bot. 

     

  • Community Power Platform Member Profile Picture
    on 19 Dec 2019 at 03:07:32
    Re: How to connect bot created using PVA to a Bot framework Virtual agent.

    Thank you @4LB3r7 

    So what I get it we can still trigger PVA Bot from Bf VA, but this time it will use bot connector protocol and not regular skill protocol. Right ?

     

    I am little confused due to https://github.com/microsoft/PowerVirtualAgentsSamples/tree/master/RelayBotSample

    as it does say 'Sample of connecting Bot Framework v4 bot to a Power Virtual Agent bot.'

     

    So should we use BotConnectorApp or RelayBotSample

  • 4LB3r7 Profile Picture
    on 19 Dec 2019 at 02:53:15
    Re: How to connect bot created using PVA to a Bot framework Virtual agent.

    Hi @Anonymous ,

     

    Thanks for posting this question.  Unfortunately, currently PVA bot cannot be connected as a skill bot. It means you cannot use your master virtual agent to PVA bot via skill protocol. 

     

    You can still use the bot connector protocol to call our bot in your master virtual assistant. Here is some sample code you can take a look:

    https://github.com/microsoft/PowerVirtualAgentsSamples/tree/master/BotConnectorApp

     

    Thanks

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Loading complete