Adding a Tab on Teams to the default "General" channel with the Graph API

Xavier B 21 Reputation points


We are trying to create a new Team from the Graph API (POST
That works well at the moment. But we can only create a new channel and add our tab, we can’t manage to add a tab on the default general channel on creation through this API. Is there a way to do it with the Beta or V1 apis that is not on the documentation? link doc

      'template@odata.bind': '\'standard\')',  
      visibility: 'Private',  
      displayName: 'Our Super Team',  
      description: '',  
      channels: [  
          displayName: 'An other Channel',  
          isFavoriteByDefault: true,  
          description: '',  
          tabs: [  
              'teamsApp@odata.bind': '\'\')',  
              name: 'Our Tab app',  
              configuration: {  
                contentUrl: 'https://somewhere-on-the-internet'  
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,122 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,973 questions
{count} votes

Accepted answer
  1. Jagadeesh-MSFT 331 Reputation points

    Currently when you use graph API to create team, the general channel is added by default where we don't have a control. This is by design. You can add tab to general channel after creating a team.


    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.

1 additional answer

Sort by: Most helpful
  1. Jagadeesh-MSFT 331 Reputation points

    Hi @Xavier B , this document would help you to create a tab for channel using graph API.