POST: https://graph.microsoft.com/beta/teams/teamsId/channels/channelId
Request body
{
"displayName": "Task management",
"teamsApp@odata.bind"
"https://graph.microsoft.com/beta/appCatalogs/teamsApps/com.microsoft.teamspace.tab.planner",
"configuration": {
"entityId": "",
"contentUrl": "",
"websiteUrl": "",
"removeUrl": ""
}
}
- entityId = plan id
- contentUrl = websiteUrl = removeUrl = https://tasks.office.com/{tenantName}/Home/PlannerFrame?page=7&planId={planId}
Graph API's docs referred
- https://docs.microsoft.com/en-us/graph/teams-configuring-builtin-tabs
- https://docs.microsoft.com/en-us/graph/api/teamstab-add?view=graph-rest-beta
But works fine if created using teams app or even update the same tab using settings.