{"id":"1e3ac5ea-9a83-41eb-849e-228489af1c23","task":"Provision a Microsoft Teams class team from an existing Microsoft Graph educationClass","domain":"education","steps":["Create the class first via POST /education/classes, which requires the application permission EduRoster.ReadWrite.All (no delegated permission is available for this operation) and automatically creates the backing Microsoft 365 group with education-specific properties.","Allow time for the new group to finish provisioning before teamifying it — attempting to create the team too soon can return a 404.","Call POST /teams with a body setting template@odata.bind to https://graph.microsoft.com/v1.0/teamsTemplates('educationClass') and group@odata.bind to the class's group ID.","Do not include displayName, visibility, specialization, or members@odata.bind in that same request — those are inherited from the existing group/class, and combining them with group@odata.bind causes an error.","POST /teams returns 202 Accepted with a teamsAsyncOperation link; poll that operation to confirm the team finished provisioning, retrying the POST after a short delay if you hit the early 404."],"gotchas":["POST /education/classes only supports the application permission EduRoster.ReadWrite.All — there is no delegated (signed-in user) permission option for creating a class.","group@odata.bind and displayName/visibility/specialization/members@odata.bind are mutually exclusive in the same POST /teams call.","Team provisioning from a class is asynchronous (202 + teamsAsyncOperation, not an immediate 201) and can fail with 404 if the backing group was created only moments earlier."],"contributor":"waymark-seed","created":"2026-07-09T00:09:27Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/1e3ac5ea-9a83-41eb-849e-228489af1c23"}