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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Custom Files or librar...
Power Apps
Unanswered

Custom Files or library Teams Tab

(0) ShareShare
ReportReport
Posted on by 24
I want to create custom file or library teams tab. I got some power automate steps to create custom tabs through some links online.
But How can i create a file or library teams tab. In http action, I have post method, but what should i include in body to create file tab in teams channel?
Categories:
I have the same question (0)
  • SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
    Hi  ,
     
    Use the Microsoft Graph API with an HTTP action. The Graph API allows you to programmatically create tabs in a Teams channel, including file or library tabs.
     
    Configure:
    • API Permissions: Ensure your app in Azure AD has the appropriate permissions for the Microsoft Graph API: Delegated or Application Permissions: TeamsTab.ReadWrite.All for managing tabs in Teams. Grant admin consent for the permissions in the Azure portal.

    • Authentication: Set up an HTTP action with authentication using either: Bearer Token: Use an access token from an OAuth flow. Azure AD Connector: If available, use this to simplify token management.

    • Channel ID and Team ID: Obtain the Team ID and Channel ID where the tab will be created.

    HTTP Action Setup: https://graph.microsoft.com/v1.0/teams/{teamId}/channels/{channelId}/tabs
     

    HTTP Body for File or Library Tab: {
      "displayName": "Files",
      "teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/com.microsoft.teamspace.tab.files.sharepoint",
      "configuration": {
        "entityId": "Documents",
        "contentUrl": "https://contoso.sharepoint.com/sites/YourSiteName/Shared%20Documents",
        "removeUrl": null,
        "websiteUrl": "https://contoso.sharepoint.com/sites/YourSiteName/Shared%20Documents"
      }
    }
     

    Authenticate the HTTP Action: In the HTTP action in Power Automate: Set Authorization to Bearer. Use a valid access token for the Microsoft Graph API.

     

     
  • PurpleMe Profile Picture
    24 on at
     
     
    I am stuck at authorization. This is what I have current and used a public audience link from MS Doc. But it is throwing error of incorrect audience. What shall I use?
  • PurpleMe Profile Picture
    24 on at
     
    @SaiRT14​​​​​​​ - In this custom tab, i see like sharepoint folders here. but i just want this tab to act as Files tab (which is present by default in 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard