Microsoft Graph Users

Microsoft Graph Users refers to the Users resource in Microsoft Graph, which exposes Microsoft Entra ID (Azure AD) user accounts and their relationships and Microsoft 365 data through a unified API. It lets you list, read, create, update, and delete users; manage identities and lifecycle tasks such as assigning licenses, resetting passwords, and updating authentication settings; and retrieve related information like profile details, photos, managers, direct reports, group and role memberships.

OpenAPI Specification

users-openapi-original.yml Raw ↑
openapi: 3.1.0
info:
  title: Microsoft Graph Users
  description: Needs a description.
paths:
  /copilot/users:
    description: >-
      Provides operations to manage the users property of the
      microsoft.graph.copilotRoot entity.
    get:
      tags:
        - copilot.aiUser
      summary: Microsoft Graph Get users from copilot
      operationId: copilot.ListUsers
      parameters:
        - $ref: '#/components/parameters/top'
        - $ref: '#/components/parameters/skip'
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
        - $ref: '#/components/parameters/count'
        - name: $orderby
          in: query
          description: Order items by property values
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $select
          in: query
          description: Select properties to be returned
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $expand
          in: query
          description: Expand related entities
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.aiUserCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
        - copilot.aiUser
      summary: Microsoft Graph Create new navigation property to users for copilot
      operationId: copilot.CreateUsers
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.aiUser'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.aiUser'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /copilot/users/{aiUser-id}:
    description: >-
      Provides operations to manage the users property of the
      microsoft.graph.copilotRoot entity.
    get:
      tags:
        - copilot.aiUser
      summary: Microsoft Graph Get users from copilot
      operationId: copilot.GetUsers
      parameters:
        - name: $select
          in: query
          description: Select properties to be returned
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $expand
          in: query
          description: Expand related entities
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.aiUser'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - copilot.aiUser
      summary: Microsoft Graph Update the navigation property users in copilot
      operationId: copilot.UpdateUsers
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.aiUser'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.aiUser'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
        - copilot.aiUser
      summary: Microsoft Graph Delete navigation property users for copilot
      operationId: copilot.DeleteUsers
      parameters:
        - name: If-Match
          in: header
          description: ETag
          schema:
            type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: aiUser-id
        in: path
        description: The unique identifier of aiUser
        required: true
        schema:
          type: string
        x-ms-docs-key-type: aiUser
  /copilot/users/{aiUser-id}/interactionHistory:
    description: >-
      Provides operations to manage the interactionHistory property of the
      microsoft.graph.aiUser entity.
    get:
      tags:
        - copilot.aiUser
      summary: Microsoft Graph Get interactionHistory from copilot
      operationId: copilot.users.GetInteractionHistory
      parameters:
        - name: $select
          in: query
          description: Select properties to be returned
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $expand
          in: query
          description: Expand related entities
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.aiInteractionHistory'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - copilot.aiUser
      summary: Microsoft Graph Update the navigation property interactionHistory in copilot
      operationId: copilot.users.UpdateInteractionHistory
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.aiInteractionHistory'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.aiInteractionHistory'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
        - copilot.aiUser
      summary: Microsoft Graph Delete navigation property interactionHistory for copilot
      operationId: copilot.users.DeleteInteractionHistory
      parameters:
        - name: If-Match
          in: header
          description: ETag
          schema:
            type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: aiUser-id
        in: path
        description: The unique identifier of aiUser
        required: true
        schema:
          type: string
        x-ms-docs-key-type: aiUser
  /copilot/users/{aiUser-id}/interactionHistory/getAllEnterpriseInteractions():
    description: Provides operations to call the getAllEnterpriseInteractions method.
    get:
      tags:
        - copilot.aiUser
      summary: Microsoft Graph Invoke function getAllEnterpriseInteractions
      operationId: copilot.users.aiUser.interactionHistory.getAllEnterpriseInteractions
      parameters:
        - $ref: '#/components/parameters/top'
        - $ref: '#/components/parameters/skip'
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
        - $ref: '#/components/parameters/count'
        - name: $select
          in: query
          description: Select properties to be returned
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $orderby
          in: query
          description: Order items by property values
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $expand
          in: query
          description: Expand related entities
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                title: Collection of aiInteraction
                type: object
                allOf:
                  - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse'
                  - type: object
                    properties:
                      value:
                        type: array
                        items:
                          $ref: '#/components/schemas/microsoft.graph.aiInteraction'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: function
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
    parameters:
      - name: aiUser-id
        in: path
        description: The unique identifier of aiUser
        required: true
        schema:
          type: string
        x-ms-docs-key-type: aiUser
    x-ms-docs-grouped-path:
      - /copilot/interactionHistory/getAllEnterpriseInteractions()
  /copilot/users/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
        - copilot.aiUser
      summary: Microsoft Graph Get the number of the resource
      operationId: copilot.users.GetCount-2ed5
      parameters:
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /deviceManagement/managedDevices/{managedDevice-id}/users:
    description: >-
      Provides operations to manage the users property of the
      microsoft.graph.managedDevice entity.
    get:
      tags:
        - deviceManagement.managedDevice
      summary: Microsoft Graph Get users from deviceManagement
      description: The primary users associated with the managed device.
      operationId: deviceManagement.managedDevices.ListUsers
      parameters:
        - $ref: '#/components/parameters/top'
        - $ref: '#/components/parameters/skip'
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
        - $ref: '#/components/parameters/count'
        - name: $orderby
          in: query
          description: Order items by property values
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $select
          in: query
          description: Select properties to be returned
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $expand
          in: query
          description: Expand related entities
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.userCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    parameters:
      - name: managedDevice-id
        in: path
        description: The unique identifier of managedDevice
        required: true
        schema:
          type: string
        x-ms-docs-key-type: managedDevice
  /education/schools/{educationSchool-id}/users:
    description: >-
      Provides operations to manage the users property of the
      microsoft.graph.educationSchool entity.
    get:
      tags:
        - education.educationSchool
      summary: Microsoft Graph List users of an educationSchool
      description: Get the educationUser resources associated with an educationSchool.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationschool-list-users?view=graph-rest-1.0
      operationId: education.schools.ListUsers
      parameters:
        - $ref: '#/components/parameters/top'
        - $ref: '#/components/parameters/skip'
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
        - $ref: '#/components/parameters/count'
        - name: $orderby
          in: query
          description: Order items by property values
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $select
          in: query
          description: Select properties to be returned
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $expand
          in: query
          description: Expand related entities
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          $ref: >-
            #/components/responses/microsoft.graph.educationUserCollectionResponse
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    parameters:
      - name: educationSchool-id
        in: path
        description: The unique identifier of educationSchool
        required: true
        schema:
          type: string
        x-ms-docs-key-type: educationSchool
  /education/schools/{educationSchool-id}/users/{educationUser-id}/$ref:
    description: Provides operations to manage the collection of educationRoot entities.
    delete:
      tags:
        - education.educationSchool
      summary: Microsoft Graph Remove educationUser from an educationSchool
      description: Delete a user from a school.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationschool-delete-users?view=graph-rest-1.0
      operationId: education.schools.users.DeleteRefEducationUser
      parameters:
        - name: If-Match
          in: header
          description: ETag
          schema:
            type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: educationSchool-id
        in: path
        description: The unique identifier of educationSchool
        required: true
        schema:
          type: string
        x-ms-docs-key-type: educationSchool
      - name: educationUser-id
        in: path
        description: The unique identifier of educationUser
        required: true
        schema:
          type: string
        x-ms-docs-key-type: educationUser
  /education/schools/{educationSchool-id}/users/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
        - education.educationSchool
      summary: Microsoft Graph Get the number of the resource
      operationId: education.schools.users.GetCount-e5a6
      parameters:
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
    parameters:
      - name: educationSchool-id
        in: path
        description: The unique identifier of educationSchool
        required: true
        schema:
          type: string
        x-ms-docs-key-type: educationSchool
  /education/schools/{educationSchool-id}/users/$ref:
    description: Provides operations to manage the collection of educationRoot entities.
    get:
      tags:
        - education.educationSchool
      summary: Microsoft Graph List users of an educationSchool
      description: Get the educationUser resources associated with an educationSchool.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationschool-list-users?view=graph-rest-1.0
      operationId: education.schools.ListRefUsers
      parameters:
        - $ref: '#/components/parameters/top'
        - $ref: '#/components/parameters/skip'
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
        - $ref: '#/components/parameters/count'
        - name: $orderby
          in: query
          description: Order items by property values
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          $ref: '#/components/responses/StringCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
        - education.educationSchool
      summary: Microsoft Graph Add educationUser to an educationSchool
      description: Add a user to a school.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationschool-post-users?view=graph-rest-1.0
      operationId: education.schools.CreateRefUsers
      requestBody:
        $ref: '#/components/requestBodies/refPostBody'
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
        - education.educationSchool
      summary: Microsoft Graph Remove educationUser from an educationSchool
      description: Delete a user from a school.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationschool-delete-users?view=graph-rest-1.0
      operationId: education.schools.DeleteRefUsers
      parameters:
        - name: If-Match
          in: header
          description: ETag
          schema:
            type: string
        - name: '@id'
          in: query
          description: The delete Uri
          required: true
          schema:
            type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: educationSchool-id
        in: path
        description: The unique identifier of educationSchool
        required: true
        schema:
          type: string
        x-ms-docs-key-type: educationSchool
  /education/users:
    description: >-
      Provides operations to manage the users property of the
      microsoft.graph.educationRoot entity.
    get:
      tags:
        - education.educationUser
      summary: Microsoft Graph List educationUsers
      description: Get a list of the educationUser objects and their properties.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationuser-list?view=graph-rest-1.0
      operationId: education.ListUsers
      parameters:
        - $ref: '#/components/parameters/top'
        - $ref: '#/components/parameters/skip'
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
        - $ref: '#/components/parameters/count'
        - name: $orderby
          in: query
          description: Order items by property values
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $select
          in: query
          description: Select properties to be returned
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $expand
          in: query
          description: Expand related entities
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          $ref: >-
            #/components/responses/microsoft.graph.educationUserCollectionResponse
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
        - education.educationUser
      summary: Microsoft Graph Create educationUser
      description: Create a new educationUser object.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationuser-post?view=graph-rest-1.0
      operationId: education.CreateUsers
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.educationUser'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.educationUser'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /education/users/{educationUser-id}:
    description: >-
      Provides operations to manage the users property of the
      microsoft.graph.educationRoot entity.
    get:
      tags:
        - education.educationUser
      summary: Microsoft Graph Get educationUser
      description: Read the properties and relationships of an educationUser object.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationuser-get?view=graph-rest-1.0
      operationId: education.GetUsers
      parameters:
        - name: $select
          in: query
          description: Select properties to be returned
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $expand
          in: query
          description: Expand related entities
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.educationUser'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - education.educationUser
      summary: Microsoft Graph Update educationUser
      description: Update the properties of an educationUser object.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-1.0
      operationId: education.UpdateUsers
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.educationUser'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.educationUser'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
        - education.educationUser
      summary: Microsoft Graph Delete educationUser
      description: Delete a user.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationuser-delete?view=graph-rest-1.0
      operationId: education.DeleteUsers
      parameters:
        - name: If-Match
          in: header
          description: ETag
          schema:
            type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: educationUser-id
        in: path
        description: The unique identifier of educationUser
        required: true
        schema:
          type: string
        x-ms-docs-key-type: educationUser
  /education/users/{educationUser-id}/assignments:
    description: >-
      Provides operations to manage the assignments property of the
      microsoft.graph.educationUser entity.
    get:
      tags:
        - education.educationUser
      summary: Microsoft Graph List assignments of a user
      description: >-
        Returns a list of educationAssignment assigned to a educationUser for
        all classes. Only teachers, students, and applications with application
        permissions can perform this operation. This method allows a caller to
        find all the assignments belonging to a student or a teacher in a single
        call rather than having to request assignments from each class. The
        assignment list contains what is needed to get the detailed information
        for the assignment from within the class namespace. Use the methods
        defined for the assignment for all other operations.
      externalDocs:
        description: Find more info here
        url: >-
          https://learn.microsoft.com/graph/api/educationuser-list-assignments?view=graph-rest-1.0
      operationId: education.users.ListAssignments
      parameters:
        - $ref: '#/components/parameters/top'
        - $ref: '#/components/parameters/skip'
        - $ref: '#/components/parameters/search'
        - $ref: '#/components/parameters/filter'
        - $ref: '#/components/parameters/count'
        - name: $orderby
          in: query
          description: Order items by property values
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $select
          in: query
          description: Select properties to be returned
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $expand
          in: query
          description: Expand related entities
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          $ref: >-
            #/components/responses/microsoft.graph.educationAssignmentCollectionResponse
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
        - education.educationUser
      summary: Microsoft Graph Create new navigation property to assignments for education
      operationId: education.users.CreateAssignments
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.educationAssignment'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.educationAssignment'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    parameters:
      - name: educationUser-id
        in: path
        description: The unique identifier of educationUser
        required: true
        schema:
          type: string
        x-ms-docs-key-type: educationUser
    x-ms-docs-grouped-path:
      - /education/me/assignments
  /education/users/{educationUser-id}/assignments/{educationAssignment-id}:
    description: >-
      Provides operations to manage the assignments property of the
      microsoft.graph.educationUser entity.
    get:
      tags:
        - education.educationUser
      summary: Microsoft Graph Get assignments from education
      description: Assignments belonging to the user.
      operationId: education.users.GetAssignments
      parameters:
        - name: $select
          in: query
          description: Select properties to be returned
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
        - name: $expand
          in: query
          description: Expand related entities
          style: form
          explode: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.educationAssignment'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
        - education.educationUser
      summary: Microsoft Graph Update the navigation property assignments in education
      operationId: education.users.UpdateAssignments

# --- truncated at 32 KB (3491 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-graph/refs/heads/main/openapi/users-openapi-original.yml