Skip to main content

Notifications

Building Copilot Studio Chatbots in Microsoft T...
Unanswered

Adding a bot created using PVA in Teams on specific channels in teams.

Posted on by

Hi Team,

I have created a Knowledge Base using a QnA Maker in Microsoft Azure and integrated it to Teams using Power Virtual Agent in Teams. I have submitted the bot for admin approval, which already is approved and now my bot shows up in the list of apps in Microsoft Teams for everyone. However, I still cannot add it as a team member in any Teams channel. I did go through the Microsoft documentation where it says that any conversation with the bot is done privately, but I need it to be added to only some specific channels. Could you suggest any workaround for the same?

 

  • nmk Profile Picture
    nmk 193 on at
    Re: Adding a bot created using PVA in Teams on specific channels in teams.

    @renatoromao - yes you are right. this is a limitation from MS. That's why I mentioned all the possible ways I can think of. @Anonymous needs to evaluate the options and go for one.

     

    For "Copy Link " option, it can be used by anyone in the org. The access is controlled via security settings. So there's no need of a workaround. Details here. I haven't tried that but it should work.

     

    https://docs.microsoft.com/en-us/power-virtual-agents/teams/configuration-security-teams

     

     

     

  • renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: Adding a bot created using PVA in Teams on specific channels in teams.

    Hi @Anonymous ,

     

    I recommend to be attention of the @nmk  way because if you block Power Virtual Agents for the users, they can not use Power Virtual Agents before to allow again, you will block all bots for the users and not for a specific bot. When you publish your bot inside the Microsoft Teams, he is an internal app but will don't appear inside the Manage Apps (In my experience, all bots developed don't appear in the Admin.teams.microsoft.com panel), so you can not disable it for other users.

     

    Also, you can Copy Link and share with users but only team members can use the chatbot. If the user is not a member, you will see a message like::

    App not found

    The app may not exist, or your organization may have disallowed you from using it

     

    A workaround to do it (but it's not good), is adding all users that you want to use this chatbot inside this team, send the link to all users and send a message like "Hey guys, add this bot with this link today.". After all users add this bot to themselves, you remove everyone inside this team, now all users will able to use the added chatbot without permission to access this team.

  • nmk Profile Picture
    nmk 193 on at
    Re: Adding a bot created using PVA in Teams on specific channels in teams.

    Few ways. Not sure if these can help you achieve your goal.


    -- Create a team with only restricted people and have a bot for that team and publish for that team only.


    -- Publish the bot but don't share with a team. Instead, share the URL with specific people. In this way the bot won't be available in 'built by colleague' section so not discoverable by other people. Not a foolproof way but still can work for your scenario 


    --Don't share the URL as mentioned above but take help from team admin to push the app to restricted people. Explore what you can do with app setup policies here.

    https://docs.microsoft.com/en-US/microsoftteams/teams-app-setup-policies?WT.mc_id=TeamsAdminCenterCSH


    -- Allow or block PowerPlatform apps for specific users. Explore the possibilities here

    https://docs.microsoft.com/en-us/microsoftteams/manage-power-platform-apps#allow-or-block-microsoft-power-platform-apps-for-specific-users

     

    These are some ways you can try. Maybe you need to discuss this with you MS Teams admin. The PVA bot for teams operates within the larger ecosystem of MS team and there are many things you might able to achieve by using other parts of the ecosystem.

     

    HTH

  • Re: Adding a bot created using PVA in Teams on specific channels in teams.

    How can we restrict it for few people?

  • nmk Profile Picture
    nmk 193 on at
    Re: Adding a bot created using PVA in Teams on specific channels in teams.

    Hi @Anonymous,

    If you want to restrict the bot for a few people only, this can be easily achieved. I thought you wanted to add the bot to a channel conversation which is a different thing. Let me know if I understood correctly. thanks

  • renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: Adding a bot created using PVA in Teams on specific channels in teams.

    Hi @Anonymous ,

     

    Unfortunately , you can’t do that yet, we don’t have a workaround of it.

     

    Today you can share to everyone or only for a members of your team.

     

    As I said, you can create your idea here: https://aka.ms/pva/community/ideas

  • Re: Adding a bot created using PVA in Teams on specific channels in teams.

    Yes. After getting the admin approval, we are able to add the bot as a stand alone app in the side bar. But the requirement is to add it to specific channels and not for everyone. So the documentation states its not possible, but I have a requirement to do that. Basic task is to have the bot available only for few people which are part of a group and not for everyone. Do we have any workaround to this limitation?

  • nmk Profile Picture
    nmk 193 on at
    Re: Adding a bot created using PVA in Teams on specific channels in teams.

    @renatoromao - can you please elaborate the first line? As per my understanding, you can't add PVA bot to any channel. It just gets added as a standalone app. Please correct me if  I am wrong.

     

     

  • renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: Adding a bot created using PVA in Teams on specific channels in teams.

    Hi @Anonymous ,

     

    Unfortunately, today you can just add in one 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

     

     

    If you want to see a possibility to add in more channels easily, you can create your idea here: https://aka.ms/pva/community/ideas

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Getting Started…

Welcome to the Power Platform Community! We appreciate your visit…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 138,006

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard

Featured topics