web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How do I automate leav...
Power Automate
Unanswered

How do I automate leaving the chat of a Teams meeting?

(1) ShareShare
ReportReport
Posted on by
I have a flow that declines meetings I'm not interested in that come from a certain bot account.
 
However, I still get those meetings in the chat history, etc., which is a major nuisance for me.
 
Can I automate also leaving the chat, etc. for those meetings that I decline using my flow?
Categories:
I have the same question (0)
  • Suggested answer
    Infamous_Let Profile Picture
    330 on at
    Yes, you can automate leaving the chat of a Teams meeting, but it requires some integration with Microsoft Graph API since Power Automate doesn't natively offer a "leave chat" action. Since you already have a flow that declines certain meetings, you can extend it to handle chat removal by interacting with Teams through API calls.
    First, after declining a meeting, you can use the HTTP action in Power Automate to fetch your joined chats from Microsoft Graph. This involves sending a GET request to https://graph.microsoft.com/v1.0/me/chats. Once the flow identifies the chat associated with the declined meeting, you can send a DELETE request to https://graph.microsoft.com/v1.0/me/chats/{chat-id}/members/{user-id} to remove yourself from the chat.
    To make this work, you'll need to configure authentication using an Azure App Registration and grant permissions like Chat.ReadWrite.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard