Cannot create new team on Teams

Copper Contributor

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{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?

8 Replies

@DMarcolo Could you please try this in the graph explorer? Also are you using Delegated permissions or Application permissions?

Hi @Gousia_Begum  ,

permissions are under Application permissions and they are all Granted. If I run the same request from the Api explorer ( logged ) I got the same results : Unauthorized

Screenshot 2020-07-16 at 11.54.49.png

Hi @DMarcolo 


check your request once again and also check if you mentioned content-type: application/json in request header.

Refer the link below.


Even if the request is correct and you still getthis error,

You wouldn't be having access to the resource or the resource must have conditional access

click on below link for more info on errors.



@DMarcolo change your action from "GET" to "PUT" and try again
Yes request was done using PUT, i refresh the page to not show the token that was on the request

Thanks @gk_vasudev , 

but data format and request is correct and well formatted. I copy/paste the structure right from the sample on the create team page :

Same results.

Screenshot 2020-07-16 at 12.38.57.png

Token is up-to-date, because via the app I'm working on, I'm able to get users list, groups list, create user & group. The Forbidden is a "no sense" to me: there is no policy of access, permissions are all granted

I'm still working on that. Now ( i did not change a think on config/app code) i got a different error, says : Not Found. I think there is / there was something wrong on API/Teams side. The group is created, has 2 owner already assigned. Why is saying not found now?

The more I work on it, the more I feel this service act "strange"