@Deva-MSFT
here are the details, im using graph explorer :
the "guid" is one of template guid inside our admin Teams :
https://graph.microsoft.com/v1.0/teams
POST request :
{
"template@odata.bind": "https://graph.microsoft.com/v1.0/teamsTemplates('guid')",
"displayName": "test",
"description": "test",
"visibility": "Private",
"channels": [
{"displayName":"Test1","isFavoriteByDefault":true,"description":"Test1."},
{"displayName":"Test2","isFavoriteByDefault":true,"description":"Test2."}
]
}
Callback
{
"error": {
"code": "BadRequest",
"message": "Failed to execute Templates backend request CreateTeamFromTemplateRequest. Request Url: https://teams.microsoft.com/fabric/amer/templates/api/team, Request Method: POST, Response Status Code: BadRequest, Response Headers: Strict-Transport-Security: max-age=2592000\r\nx-operationid: 747605855f81eb44a57cb6531357b059\r\nx-telemetryid: 00-747605855f81eb44a57cb6531357b059-a6f1c8f90dee0b4e-00\r\nX-MSEdge-Ref: Ref A: 846D93705DBB4194AD974B5A9913974D Ref B: BLUEDGE0219 Ref C: 2020-11-24T13:30:05Z\r\nDate: Tue, 24 Nov 2020 13:30:04 GMT\r\n, ErrorMessage : {\"errors\":[{\"message\":\"A template with id 'guid' and locale 'en-US' could not be found.\"}],\"operationId\":\"747605855f81eb44a57cb6531357b059\"}",
"innerError": {
"date": "2020-11-24T13:30:05",
"request-id": "3fbf9c58-b233-4fae-a53b-d8ff6a92bd54",
"client-request-id": "985ba9db-becc-e560-5ec4-19e2e60383f5"
}
}
}