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 / Power Virtual Agent in...
Copilot Studio
Unanswered

Power Virtual Agent integration with SharePoint Online page

(1) ShareShare
ReportReport
Posted on by 29

Hi
It is extreemly urgent and require your quick responses to resolve anything which I am missing here.

We want to add PVA on our SharePoint page as a custom webpart. I have tried below two articles, but both are giving same error i.e Unable to connect.
https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Community/How-to-use-Chatbots-inside-SharePoint-pages-no-code-Power/bc-p/2153197#M98
How to add Power Virtual Agent (PVA) Bot to a SharePoint page? | Pankaj Surti's Blog (option 3)


Error:
botError.png

 

 

Troubleshooting: When I click f12 and see network trace i found below response from API
apierror.png

 

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

    Hi @ICode84,

     

    Have you tried pasting the HTML code snippet from PVA in a SharePoint page webpart?

    Customize the demo website or publish your bot on your website (preview) - Power Virtual Agents | Microsoft Learn

     

    HenryJammes_0-1684234109700.png

     

    You also need to allow embedding HTML from the PVA website, so if you're using the public cloud, web.powerva.microsoft.com.

    Allow or restrict the ability to embed content on SharePoint pages - Microsoft Support

     

    HenryJammes_1-1684234281406.png

     

     

    Henry

  • ICode84 Profile Picture
    29 on at

    Yes, it is working fine on embedding code, but does not give chat experience. We want to work it like a chatbot on SharePoint page.

  • HenryJammes Profile Picture
    on at

    @ICode84 wrote:

    Yes, it is working fine on embedding code, but does not give chat experience. We want to work it like a chatbot on SharePoint page.


    I'm not a SharePoint expert, can you educate me a bit on what you mean by "we want to work it like a chatbot on SharePoint page"?

  • ICode84 Profile Picture
    29 on at

    By chatbot I mean we don't want it to be part of page. we want it to appear as webchat which is used as per required basis. like the attached pictures.

    ICode84_0-1684318769010.png

     

  • Estanislao Profile Picture
    5 on at

    ¿Alguna solución encontrada?

  • amritSarkar Profile Picture
    34 on at

    Hi @HenryJammes . Thanks for your help and suggestion. But after embedding that web part into the Sharepoint , the bot is appearing. But, there is an error appearing in the Bot Conversation. I'm pasting the conversation below :
    Sorry, something unexpected happened. We’re looking into it. Error code: LatestPublishedVersionNotFound. Conversation ID: Ai2WPwmAzSyDGbjzUbZYz4-in. Time (UTC): 8/8/2023 6:31:14 AM.

    Do you know how to fix this? I have tried a lot 🙂 but till now unable to solve this.
    Thanks in advance!

  • HenryJammes Profile Picture
    on at

    Hi @amritSarkar 

     

    Have you published the bot in PVA?

     

    Henry

  • amritSarkar Profile Picture
    34 on at

    Hi @HenryJammes , thanks for your suggestion :). Published my bot and now the error is not appearing in the conversation. But I have a question related this. Its a bit complex question 😑 , but I hope you will give me some directions about this 😊.

    I have a Sharepoint site named 'XYZ' . In the document library part it has 5 files - 2 PDF file & 3 Doc file. I want to invoke a chat bot in that page which will answer anything regarding those documents. Is it possible? 😓

    e.g. Say , If a user opens the site and ask anything related to those documents, the bot will give appropriate answer.

    I would be grateful if you kindly look into this matter. 😊
    Thanks in advance! 🙂

  • HenryJammes Profile Picture
    on at

    Hi @amritSarkar 

    Have you tried with generative answers? *

    See:

    The users would need to be logged in.

    Henry

  • amritSarkar Profile Picture
    34 on at

    Hi @HenryJammes , thanks a lot for your suggestion 😊. But here is a problem , since I am from India(South East Asian Region), I don't have the permission to create a bot with generative answers(preview). Last day, I have tried but I am not showing the "Preview" option. Below message is showing 😥

    Your bot must be created in the US region.

    Other regions, and languages other than English, aren't supported during the

    It would be so sweet of you if you help me with some other alternatives.
    Thanks in advance 🙂 🙂

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 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard