Skip to main content
Community site session details

Community site session details

Session Id : KJRCuCIkRl3/ZgUuILJ8Gd
Copilot Studio - General
Unanswered

Hiding Teams Chat using PVA

Like (0) ShareShare
ReportReport
Posted on 9 May 2022 16:25:26 by 6

Hello, I'd like to make a function to hide a teams group chat for all users using PVA. 
Here's what I have so far.. 

JakeC20_0-1652113316112.png

Ultimately I'd like for any user in the chat to type !hide and have a script hide the chat for all users. 
https://docs.microsoft.com/en-us/graph/api/chat-hideforuser?view=graph-rest-beta&tabs=csharp

 

How would I make the chat bot look for the !hide command and then use that to call on a function or script? 

Any help/tips would be appreciated. 

  • peterswimm Profile Picture
    Moderator on 09 May 2022 at 16:47:00
    Re: Hiding Teams Chat using PVA

    If teams has not added this functionality to their team's connector (and since its so new I am guessing they haven't) you would have to implement this either in a custom connector or a Bot Framework skill.

    https://docs.microsoft.com/en-us/microsoftteams/platform/bots/bot-features?tabs=dotnet#bots-with-power-virtual-agents

    https://powerautomate.microsoft.com/en-us/connectors/details/shared_teams/microsoft-teams/

     

     

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2