question

WillemDeBacker-4328 avatar image
0 Votes"
WillemDeBacker-4328 asked ·

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

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-teamworkmicrosoft-graph-sdk
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Danstan avatar image
1 Vote"
Danstan answered ·

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.



· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.