Forum Discussion
MS Graph create Team Error
Hello, I am creating a group (api /v1.0/education/classes) and it works perfectly. With the ID of this group, I am trying to create a team (api /v1.0/groups/{idGroup}/team), however, the call is returning the following error:
{"error":{"code":"BadRequest","message":"Failed to execute MsGraph backend request UpdateGroupS2SRequest. Workload MsGraph_DirectoryServices. Request Url: https://graph.microsoft.com/beta/groups/14a6f63b-b750-4062-9f96-ed47213f8de9, Request Method: PATCH, Response Status Code: BadRequest, Response Headers: Strict-Transport-Security: max-age=31536000\r\nrequest-id: 742c4cce-63dd-44ff-b73e-35a5ac523a26\r\nclient-request-id: 742c4cce-63dd-44ff-b73e-35a5ac523a26\r\nx-ms-ags-diagnostic: {\"ServerInfo\":{\"DataCenter\":\"Central US\",\"Slice\":\"E\",\"Ring\":\"2\",\"ScaleUnit\":\"003\",\"RoleInstance\":\"DS1PEPF0001605E\"}}\r\nx-ms-resource-unit: 1\r\nDate: Wed, 27 Dec 2023 21:52:25 GMT\r\n, Reason Phrase: Bad Request, Request ID E4F0F69575B64A549A027DB93379A2E4.","innerError":{"code":"BadRequest","message":"Failed to execute MsGraph backend request UpdateGroupS2SRequest. Workload MsGraph_DirectoryServices. Request Url: https://graph.microsoft.com/beta/groups/14a6f63b-b750-4062-9f96-ed47213f8de9, Request Method: PATCH, Response Status Code: BadRequest, Response Headers: Strict-Transport-Security: max-age=31536000\r\nrequest-id: 742c4cce-63dd-44ff-b73e-35a5ac523a26\r\nclient-request-id: 742c4cce-63dd-44ff-b73e-35a5ac523a26\r\nx-ms-ags-diagnostic: {\"ServerInfo\":{\"DataCenter\":\"Central US\",\"Slice\":\"E\",\"Ring\":\"2\",\"ScaleUnit\":\"003\",\"RoleInstance\":\"DS1PEPF0001605E\"}}\r\nx-ms-resource-unit: 1\r\nDate: Wed, 27 Dec 2023 21:52:25 GMT\r\n, Reason Phrase: Bad Request, Request ID E4F0F69575B64A549A027DB93379A2E4.","details":[],"date":"2023-12-27T21:52:25","request-id":"9798e5df-3145-4d82-9df1-c4035f453dc1","client-request-id":"9798e5df-3145-4d82-9df1-c4035f453dc1"}}}
I have done other integrations of this type, but this is the first time I am encountering this problem. Has anyone else experienced this? Were you able to resolve it?
Best regards,
9 Replies
- Meghana-MSFTFormer EmployeeThanks for raising your query.
We will look into it and let you know the updates.- Meghana-MSFTFormer Employee
rodsilvanascimento - We checked this at our end and we are able to create team from the class successfully. Please give few minutes delay, so that in the backend it creates the group so as to avoid any sync issues.
Created class -
Creating team directly from the group gave an error saying "
Team owner not found for group". We added owner to the group like below.Then we were able to create team from above group.
- rodsilvanascimentoCopper ContributorHow long should I wait? I set a 10-minute interval, but the problem still occurred.