Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Is it possible to have PVA on Model driven app?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, 

 

I am wondering if I can have power virtual agent on a model driven app when app is in Play mode. I am planning to have a 'help bot' on MDA which can be feed with some faqs related to MDA other features. 

I came across this Get help building your app from a virtual agent - Power Apps | Microsoft Learn and it looks like PVA is there but its only on home screen. When we open MDA app from apps section, we do not see PVA at the bottom. 

Categories:
  • SimonSays Profile Picture
    168 on at
    Re: Is it possible to have PVA on Model driven app?

    How about opening a PVA from a Custom Page in an MDA? I’ve searched for ways of doing this but not found a solution yet. I think this is probably a common use case especially with apps that have a help page built as a Custom Page.

  • HenryJammes Profile Picture
    on at
    Re: Is it possible to have PVA on Model driven app?

    Hi @rohitjadhavms,

    Yes, with some customizations.

     

    You can embed a PVA bot in a custom model-driven app HTML web resource.

    What I don't think you can achieve is automatically signing the user in with SSO.

    But this should work well for unauthenticated bots.

    To display a bot in a model-driven app side pane, I would use these:

    1. Create an HTML web resource where you embed the PVA code snippet obtained from the custom website channel.
    2. Create a JavaScript web resource to create a function that will be called to display the bot within the model-driven app in a side pane. This web resource would create a side pane using the createPane client API to call the PVA bot HTML web resource and would navigate to it using these navigateTo client API web properties for web resources.
    3. A natural place to call the JavaScript function and display the bot would be for example from a global command bar button.

     

    Depending on what you want to achieve, you can of course go further and use more information gathered with Client APIs from the context and pass it to the bot.

     

    I'm curious to know if there there would be demand for code samples or re-usable solutions that achieve this.
    Let me know!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard