Graph api v1.0/teams Post suddenly doesnt allow tab configuration in json template

Willem De Backer 1 Reputation point
2021-02-23T09:22:40.397+00:00

Hello,

I have been using the v1.0/teams endpoint of the graph api to create teams by using json templates.
This worked fine untill friday 19/02/2021 and then it suddenly stopt working.
As i have discovered it is the tab configuration that causes the error , because when i try a template without any tab configuration it works just fine.

note: this error can be reproduced in the graph explorer

This is an example of a template i use:

{
"template@odata.bind": "https://graph.microsoft.com/v1.0/teamsTemplates('standard')",
"group@odata.bind": "https://graph.microsoft.com/v1.0/groups('groupId')",
"channels": [{
"displayName": "10. DW Admin",
"description": "DW Admin",
"isFavoriteByDefault": true,
"tabs": [{
"teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.web')",
"name": "Portfolio",
"configuration": {
"contentUrl": "https://Environment.crm4.dynamics.com/main.aspx?forceUCI=1&pagetype=entitylist&etn=dosp_program&viewid=5c3e7983-015b-eb11-a812-000d3ad9cb7a&viewType=1039&navbar=off"
}

},
{
"teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.web')",
"name": "Program",
"configuration": {
"contentUrl": "https://Environment.crm4.dynamics.com/main.aspx?forceUCI=1&pagetype=entitylist&etn=dosp_program&viewid=bcfdfde8-015b-eb11-a812-000d3ad9cb7a&viewType=1039&navbar=off"
}
}
]
},
{
"displayName": "11. Rapportering",
"description": "Rapportering",
"isFavoriteByDefault": true,
"tabs": [{
"teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.web')",
"name": "Report center"
}]
},
{
"displayName": "12. Data Management",
"description": "Data Management",
"isFavoriteByDefault": true,

"tabs": [{
"teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.web')",
"name": "Compliance Center"
}]
},
{
"displayName": "13. Security",
"description": "Security",
"isFavoriteByDefault": true,

"tabs": [{
"teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.web')",
"name": "Security Center"
}]
}
],
"memberSettings": {
"allowCreateUpdateChannels": false,
"allowDeleteChannels": false,
"allowAddRemoveApps": false,
"allowCreateUpdateRemoveTabs": false,
"allowCreateUpdateRemoveConnectors": false
},
"guestSettings": {
"allowCreateUpdateChannels": false,
"allowDeleteChannels": false
},
"funSettings": {
"allowGiphy": true,
"giphyContentRating": "Moderate",
"allowStickersAndMemes": true,
"allowCustomMemes": true
},
"messagingSettings": {
"allowUserEditMessages": true,
"allowUserDeleteMessages": false,
"allowOwnerDeleteMessages": true,
"allowTeamMentions": true,
"allowChannelMentions": true
},
"discoverySettings": {
"showInTeamsSearchAndSuggestions": true
},
"installedApps": [{
"teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.vsts')"
},
{
"teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('1542629c-01b3-4a6d-8f76-1938b779e48d')"
}
]
}

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,718 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Danstan Onyango 3,741 Reputation points Microsoft Employee
    2021-02-25T21:56:18.893+00:00

    This has also been reported here, see my answer there. If you can continue without tabs, I suggest you continue using the API without them for now. I believe this is being looked at and I will post here new info that I find.

    1 person found this answer helpful.
    0 comments No comments