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 :
Copilot Studio - Building Copilot Studio Chatbo...
Unanswered

Adding PVA CoPilot in MS teams inside Specific channel

(0) ShareShare
ReportReport
Posted on by 8

Hi,
I have created a PVA CoPilot bot to save the user input in a sharepoint site. I have published the bot to MS teams as an app. But how can I add this bot to specific teams channel?

I have the same question (0)
  • v-yueyun-msft Profile Picture
    on at
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    Hi , @AnnaJMoy 

    The PVA bot seems can not embed to the special team channel.

    As searched , you may need to refer to this:
    Create Teams conversation bot - Teams | Microsoft Learn

    DEMO - Bots in Microsoft Teams channels and group chats (youtube.com)

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

  • nesrivastava Profile Picture
    on at
    Re: Adding PVA CoPilot in MS teams inside Specific channel

     Yes, unfortunately, can't add in the channel. The chat bot will be appear inside the apps on Teams and not inside the channel, so you can share using the documentation to other users inside your organization, you just adding as a member of a team.

    https://docs.microsoft.com/en-us/power-virtual-agents/teams/admin-share-bots-teams#share-bots

    @AnnaJMoy

  • AnnaJMoy Profile Picture
    8 on at
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    @nesrivastava @v-yueyun-msft 

    I'm utilizing the chatbot preview feature in Power Apps canvas to display a chat application, which I've integrated as a tab within Microsoft Teams.
    I've encountered a challenge where the adaptive card forms within the chatbot do not retain the inputted information after a button is clicked. Although the entered data is successfully stored as global variables in Power Virtual Agents, the form fields reset and no longer display the previously entered values. Is there a method to preserve the data within the form fields post-button click, ensuring that the information remains visible to users?

  • AnnaJMoy Profile Picture
    8 on at
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    @nesrivastava @v-yueyun-msft 
    Following up on the above query. Please let me know if you have any information on the same

  • nesrivastava Profile Picture
    on at
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    can you share the screenshot of your scenario and the adaptive card JSON. 

  • AnnaJMoy Profile Picture
    8 on at
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    Thanks @nesrivastava for the response. Added the power app as a tab in the teams channel.
    Before clicking the button : (Added the title and description)

    AnnaJMoy_0-1715170973861.png

    After Clicking the "Skip and Submit" Button: The data that was entered has disappeared.

    AnnaJMoy_1-1715171066108.png


    Adaptive Card Json which integarted in the PVA:

    {
    "type": "AdaptiveCard",
    "version": "1.2",
    "body": [
     
             {
                "type": "TextBlock",
                "text": "Please add the title and description to start submitting the idea. If you wish to add more details, click the '+' option.",
                "wrap": true
            },
            {
                "type": "Input.Text",
                "label": "Idea Title",
                "id": "IdeaTitle",
                "isRequired": true,
                "errorMessage": "Idea Title is required",
                "placeholder": "Enter your idea title"
            },
            {
                "type": "Input.Text",
                "label": "Idea description/Problem Statement",
                "style": "text",
                "isMultiline": true,
                "id": "Ideades",
                "isRequired": true,
                 "errorMessage": "Idea description/Problem Statement is required",
                "placeholder": "Enter Idea description/Problem Statement"
            } ,
        {
          "type": "Container",
          "items": [
            {
              "type": "TextBlock",
              "text": "Click \"+\" to show more and if you like to submit without adding more detail, please click the Skip And Submit option.",
              "wrap": true
            },
            {
              "type": "ActionSet",
              "actions": [
                {
                  "type": "Action.ToggleVisibility",
                  "title": "+",
                  "targetElements": ["valueButton", "benefitsButton", "relevanceButton", "minusButton"]
                },
               
                  {
                    "type": "Action.Submit",
                    "title": "Skip And Submit",
                    "data": {
                      "id": "skipandsubmit"
                    }
                  }
              ]
            },
            {
                "type": "ActionSet",
                "id": "valueButton",
                "isVisible": false,
                "actions": [
                  {
                    "type": "Action.Submit",
                    "title": "Value",
                    "data": {
                      "id": "value"
                    }
                  }
                ]
            },
            {
                "type": "ActionSet",
                "id": "benefitsButton",
                "isVisible": false,
                "actions": [
                  {
                    "type": "Action.Submit",
                    "title": "Benefits",
                    "data": {
                      "id": "benefits"
                    }
                  }
                ]
            },
            {
                "type": "ActionSet",
                "id": "relevanceButton",
                "isVisible": false,
                "actions": [
                  {
                    "type": "Action.Submit",
                    "title": "Relevance",
                    "data": {
                      "id": "relevance"
                    }
                  }
                ]
            }
           
           
          ]
        }
       
    ]
    }




  • AnnaJMoy Profile Picture
    8 on at
    Re: Adding PVA CoPilot in MS teams inside Specific channel

    @nesrivastava @v-yueyun-msft 
    Following up on the above query.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 434 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
CU15090955-0 Profile Picture

CU15090955-0 46

Last 30 days Overall leaderboard

Featured topics