Forum Discussion
Cannot create new team on Teams
Hi DMarcolo
check your request once again and also check if you mentioned content-type: application/json in request header.
Refer the link below.
https://docs.microsoft.com/en-us/graph/api/team-put-teams?view=graph-rest-1.0&tabs=http
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.
https://docs.microsoft.com/en-us/graph/errors
cheers.
- DMarcoloJul 16, 2020Copper Contributor
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 : https://docs.microsoft.com/en-us/graph/api/team-put-teams?view=graph-rest-1.0&tabs=http
Same results.
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
- gk_vasudevJul 16, 2020Brass Contributorhttps://docs.microsoft.com/en-us/graph/resolve-auth-errors
Hoping this might help!- DMarcoloJul 16, 2020Copper ContributorI'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"