How to add a teams app to each meeting by default

Joschka 10 Reputation points
2024-02-10T12:30:28.54+00:00

I have developed an app for teams which greets in the meetings chat every participant. This works fine but I have to manually add the app to the meeting after the meeting is created. Is there a way to add this app to every meeting by default? Can you use Microsoft Graph to identify new meetings and then add the app?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
8,716 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,014 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,740 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Deepanshu Sharma 340 Reputation points Microsoft Vendor
    2024-02-12T03:14:49.2933333+00:00

    To identify when new Teams meetings are created tenant-wide, consider using the subscription Graph API. You can set up a subscription to receive notifications when changes occur to all events in a user’s mailbox. This way, you’ll be notified whenever a new meeting is created. Also you can use POST /chats/{chat-id}/installedApps this endpoint to add app to new teams chat. Please visit for more info https://learn.microsoft.com/en-us/graph/api/chat-post-installedapps?view=graph-rest-1.0&tabs=csharp#example-1-install-app-in-a-chat


  2. Prasad-MSFT 5,481 Reputation points Microsoft Vendor
    2024-02-12T05:42:37.1333333+00:00

    To automatically add your app to every meeting, you can use the Microsoft Graph API to create a subscription for the me/events endpoint. This subscription will notify your app whenever a new meeting is created. https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http You can then use the API to add your app to the newly created meeting. https://learn.microsoft.com/en-us/graph/api/chat-post-installedapps?view=graph-rest-1.0&tabs=http Thanks,  Prasad Das *************************************************************************  If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.