Forum Discussion

DMarcolo's avatar
DMarcolo
Copper Contributor
Jul 15, 2020

Cannot create new team on Teams

Hi everyone,

I'm trying to create new Team on existing Group but I keep getting error : 

 

{
  "error": {
    "code": "Forbidden",
    "message": "Forbidden",
    "innerError": {
      "date": "2020-07-15T09:42:47",
      "request-id": "fc95373a-26ea-4d3a-b180-662a42853e6d"
    }
  }
}

 

Request is done using Application Token and this config : 

 

endpoint : PUT https://graph.microsoft.com/v1.0/groups/{GroupID}/team
body : 
{  
  "memberSettings": {
    "allowCreateUpdateChannels": true
  },
  "messagingSettings": {
    "allowUserEditMessages": true,
    "allowUserDeleteMessages": true
  },
  "funSettings": {
    "allowGiphy": true,
    "giphyContentRating": "strict"
  }
}

 

On the Azure directory permissions : Group.ReadWrite.All, Directory.ReadWrite.All , are set and granted by admin

Is there any issue on this endpoint?

Resources