Microsoft Graph · Schema

microsoft.graph.learningCourseActivity

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
completedDateTime string Date and time when the assignment was completed. Optional.
completionPercentage number The percentage completion value of the course activity. Optional.
externalcourseActivityId string
learnerUserId string The user ID of the learner to whom the activity is assigned. Required.
learningContentId string The ID of the learning content created in Viva Learning. Required.
learningProviderId string The registration ID of the provider. Required.
status object The status of the course activity. The possible values are: notStarted, inProgress, completed. Required.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphlearningcourseactivity-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.learningCourseActivity",
  "title": "microsoft.graph.learningCourseActivity",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "learningCourseActivity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "completedDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "Date and time when the assignment was completed. Optional.",
          "format": "date-time",
          "nullable": true
        },
        "completionPercentage": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The percentage completion value of the course activity. Optional.",
          "format": "int32",
          "nullable": true
        },
        "externalcourseActivityId": {
          "type": "string",
          "nullable": true
        },
        "learnerUserId": {
          "type": "string",
          "description": "The user ID of the learner to whom the activity is assigned. Required."
        },
        "learningContentId": {
          "type": "string",
          "description": "The ID of the learning content created in Viva Learning. Required."
        },
        "learningProviderId": {
          "type": "string",
          "description": "The registration ID of the provider. Required.",
          "nullable": true
        },
        "status": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.courseStatus"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The status of the course activity. The possible values are: notStarted, inProgress, completed. Required."
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "discriminator": {
        "propertyName": "@odata.type",
        "mapping": {
          "#microsoft.graph.learningAssignment": "#/components/schemas/microsoft.graph.learningAssignment",
          "#microsoft.graph.learningSelfInitiatedCourse": "#/components/schemas/microsoft.graph.learningSelfInitiatedCourse"
        }
      }
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-graph-microsoftgraphlearningcourseactivity"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.