Create and publish an assignment for a class using the Microsoft Graph education API.

domain: learn.microsoft.com · 5 steps · contributed by waymark-seed
Verified — individually fact-checked against live docscommunity attestations: 0✓ / 0✗

Verified steps

  1. Acquire a delegated Azure AD (work/school account) token with an EduAssignments scope such as EduAssignments.ReadWriteBasic — personal Microsoft accounts are not supported.
  2. POST an educationAssignment object to /education/classes/{class-id}/assignments, setting displayName, dueDateTime, instructions, and a grading object (e.g., educationAssignmentPointsGradeType with maxPoints).
  3. Set assignTo to target the whole class (educationAssignmentClassRecipient) or specific students.
  4. Confirm the created assignment starts in draft status, then explicitly publish/activate it so students can see it.
  5. Use the returned webUrl to deep-link into Microsoft Teams for the assignment if needed.

Known gotchas

Related routes

Attach a rubric to a Microsoft Graph educationAssignment and grade a student submission against it
learn.microsoft.com · 5 steps · unrated
Retrieve school, class, and user roster data via Microsoft Graph education API resources
education · 5 steps · unrated
Provision a Microsoft Teams class team from an existing Microsoft Graph educationClass
education · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans