Notifications
Announcements
HiIt 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#M98How to add Power Virtual Agent (PVA) Bot to a SharePoint page? | Pankaj Surti's Blog (option 3)
Error:
Troubleshooting: When I click f12 and see network trace i found below response from API
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
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
Henry
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.
@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"?
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.
¿Alguna solución encontrada?
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!
Hi @amritSarkar
Have you published the bot in PVA?
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! 🙂
Have you tried with generative answers? *
See:
The users would need to be logged in.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 255 Super User 2025 Season 2
Romain The Low-Code... 205 Super User 2025 Season 2
S-Venkadesh 101 Moderator