Search This Blog

Friday, December 16, 2022

Create a team by using Graph API

 https://developer.microsoft.com/graph/graph-explorer

onsent button for the permissions Team.Create.

{


"template@odata.bind":"https://graph.microsoft.com/v1.0/teamsTemplates('standard')",


"displayName": "Early Adopters",


"description": "The Early Adopters Workspace.",


"visibility": "Public" 


}


{


"template@odata.bind": "https://graph.microsoft.com/v1.0/teamsTemplates('standard')",


"visibility": "Public",


"displayName": "Tech Meetings",


"description": "Space for all employees participating in the champions program, who want exchange each other about the newest features.",


"channels": [


{


"displayName": "Welcome Hall",


"isFavoriteByDefault": true,


"description": "Channel for introducing yourself as a member of the tech meeting participants."


},


{


"displayName": "Tech Lunch and Dinner",


"isFavoriteByDefault": true,


"description": "When will be the next tech lunch and who has any suggestions where to meet."


},


{


"displayName": "Q and A",


"description": "Questions and answers: Teams users giving a helping hand to other users.",


"isFavoriteByDefault": true


},


{


"displayName": "Issues and Feedback 🐞",


"description": "Leave some feedback for the IT-Staff.",


"isFavoriteByDefault": false


}


],


"memberSettings": {


"allowCreateUpdateChannels": true,


"allowDeleteChannels": false,


"allowAddRemoveApps": true,


"allowCreateUpdateRemoveTabs": true,


"allowCreateUpdateRemoveConnectors": true


},


"guestSettings": {


"allowCreateUpdateChannels": true,


"allowDeleteChannels": false


},


"funSettings": {


"allowGiphy": true,


"giphyContentRating": "Moderate",


"allowStickersAndMemes": true,


"allowCustomMemes": true


},


"messagingSettings": {


"allowUserEditMessages": true,


"allowUserDeleteMessages": true,


"allowOwnerDeleteMessages": true,


"allowTeamMentions": true,


"allowChannelMentions": true


},


"discoverySettings": {


"showInTeamsSearchAndSuggestions": true


}


}


{


"template@odata.bind": "https://graph.microsoft.com/v1.0/teamsTemplates('standard')",


"visibility": "Public",


"displayName": "Tech Meetings",


"description": "Space for all employees participating in the champions program, who want exchange each other about the newest features.",


"channels": [


{


"displayName": "Welcome Hall",


"isFavoriteByDefault": true,


"description": "Channel for introducing yourself as a member of the tech meeting participants."


},


{


"displayName": "Tech Lunch and Dinner",


"isFavoriteByDefault": true,


"description": "When will be the next tech lunch and who has any suggestions where to meet."


},


{


"displayName": "Q and A",


"description": "Questions and answers: Teams users giving a helping hand to other users.",


"isFavoriteByDefault": true


},


{


"displayName": "Issues and Feedback 🐞",


"description": "Leave some feedback for the IT-Staff.",


"isFavoriteByDefault": false


}


],


"memberSettings": {


"allowCreateUpdateChannels": true,


"allowDeleteChannels": false,


"allowAddRemoveApps": true,


"allowCreateUpdateRemoveTabs": true,


"allowCreateUpdateRemoveConnectors": true


},


"guestSettings": {


"allowCreateUpdateChannels": true,


"allowDeleteChannels": false


},


"funSettings": {


"allowGiphy": true,


"giphyContentRating": "Moderate",


"allowStickersAndMemes": true,


"allowCustomMemes": true


},


"messagingSettings": {


"allowUserEditMessages": true,


"allowUserDeleteMessages": true,


"allowOwnerDeleteMessages": true,


"allowTeamMentions": true,


"allowChannelMentions": true


},


"discoverySettings": {


"showInTeamsSearchAndSuggestions": true


}


}






No comments:

Post a Comment