Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ZpKnKEEsrfhUSUDExilqHZ
Copilot Studio - General
Unanswered

Power Virtual Agent integration with SharePoint Online page

Like (1) ShareShare
ReportReport
Posted on 16 May 2023 04:24:48 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:
  • Suggested answer
    CU19070401-0 Profile Picture
    28 on 03 Aug 2024 at 11:51:34
    Power Virtual Agent integration with SharePoint Online page
    Here is a complete walkthrough on how we can deploy Copilot Chatbot to SharePoint Online Page: https://global-sharepoint.com/copilot/deploy-copilot-in-sharepoint-page/

    YouTube Video on how we can deploy Copilot Chatbot to SharePoint Online Page: https://youtu.be/p1WwPZ2rwKs?si=8-w9LIffLem-HGmA

    YouTube Video on Microsoft Copilot Studio Full Tutorial for Beginners, Explained Step by Step : https://youtu.be/p5SleksT7bA
  • Estanislao Profile Picture
    5 on 29 Aug 2023 at 13:22:32
    Re: Power Virtual Agent integration with SharePoint Online page

    Hi, I would like to know how you were able to solve the problem about embedding the power virtual agents to the custom web part of sharepoint.

  • HenryJammes Profile Picture
    on 09 Aug 2023 at 15:29:27
    Re: Power Virtual Agent integration with SharePoint Online page

    Hi @amritSarkar,

     

    I case you can't wait for the feature to be available in your region, alternatively, you can create your custom integration with SharePoint and Azure OpenAI.

     

    See these examples:

     

    Henry

  • amritSarkar Profile Picture
    34 on 09 Aug 2023 at 04:28:01
    Re: Power Virtual Agent integration with SharePoint Online page

    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 🙂 🙂

  • HenryJammes Profile Picture
    on 08 Aug 2023 at 12:03:44
    Re: Power Virtual Agent integration with SharePoint Online page

    Hi @amritSarkar 

    Have you tried with generative answers? *

    See:

    The users would need to be logged in.

    Henry

  • amritSarkar Profile Picture
    34 on 08 Aug 2023 at 10:07:15
    Re: Power Virtual Agent integration with SharePoint Online page

    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 08 Aug 2023 at 09:16:31
    Re: Power Virtual Agent integration with SharePoint Online page

    Hi @amritSarkar 

     

    Have you published the bot in PVA?

     

    Henry

  • amritSarkar Profile Picture
    34 on 08 Aug 2023 at 06:56:58
    Re: Power Virtual Agent integration with SharePoint Online page

    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!

  • Estanislao Profile Picture
    5 on 02 Aug 2023 at 12:04:02
    Re: Power Virtual Agent integration with SharePoint Online page

    ¿Alguna solución encontrada?

  • ICode84 Profile Picture
    29 on 17 May 2023 at 10:19:45
    Re: Power Virtual Agent integration with SharePoint Online 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.

    ICode84_0-1684318769010.png

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard