Microsoft Graph connections.externalItem API

The connections.externalItem API from Microsoft Graph — 8 operation(s) for connections.externalitem.

Operations 14

GET /connections/{externalConnection-id}/items Microsoft Graph Get items from connections #
POST /connections/{externalConnection-id}/items Microsoft Graph Create new navigation property to items for connections #
GET /connections/{externalConnection-id}/items/{externalItem-id} Microsoft Graph Get items from connections #
PUT /connections/{externalConnection-id}/items/{externalItem-id} Microsoft Graph Update the navigation property items in connections #
DELETE /connections/{externalConnection-id}/items/{externalItem-id} Microsoft Graph Delete navigation property items for connections #
GET /connections/{externalConnection-id}/items/{externalItem-id}/activities Microsoft Graph Get activities from connections #
POST /connections/{externalConnection-id}/items/{externalItem-id}/activities Microsoft Graph Create new navigation property to activities for connections #
GET /connections/{externalConnection-id}/items/{externalItem-id}/activities/{externalActivity-id} Microsoft Graph Get activities from connections #
PATCH /connections/{externalConnection-id}/items/{externalItem-id}/activities/{externalActivity-id} Microsoft Graph Update the navigation property activities in connections #
DELETE /connections/{externalConnection-id}/items/{externalItem-id}/activities/{externalActivity-id} Microsoft Graph Delete navigation property activities for connections #
GET /connections/{externalConnection-id}/items/{externalItem-id}/activities/{externalActivity-id}/performedBy Microsoft Graph Get performedBy from connections #
GET /connections/{externalConnection-id}/items/{externalItem-id}/activities/$count Microsoft Graph Get the number of the resource #
POST /connections/{externalConnection-id}/items/{externalItem-id}/microsoft.graph.externalConnectors.addActivities Microsoft Graph Invoke action addActivities #
GET /connections/{externalConnection-id}/items/$count Microsoft Graph Get the number of the resource #

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/admin?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/agreementacceptance?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/agreement?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teamsapp?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/application?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/applicationtemplate?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethodconfiguration?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethodspolicy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/certificatebasedauthconfiguration?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/chat?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/communications-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/complianceapioverview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/externalconnectors-externalconnection?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contact?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contract?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/copilot-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/datapolicyoperation?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/intune-apps-conceptual?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/intune-device-conceptual?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/device?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/domaindnsrecord?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/domain?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/drive?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/education-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/employee-experience-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/externalconnectors-external?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/filter-query-parameter
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/excel?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/grouplifecyclepolicy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groupsetting?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groupsettingtemplate?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/identitycontainer?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/informationprotection?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/invitation?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/users?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/oauth2permissiongrant?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/organization?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/resourcespecificpermissiongrant?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/place?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/planner-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/print?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/privacy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/report?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/rolemanagement?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/schemaextension?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/scopedrolemembership?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/security-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/serviceprincipal?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/shares?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/solutions-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/filestorage?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/subscribedsku?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teamwork?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/tenantrelationship?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/auth/auth-concepts
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/workplace?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/sitepage?view=graph-rest-1.0

Specifications

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/microsoft-graph-connections-externalitem-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.

OpenAPI Specification

microsoft-graph-connections-externalitem-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Graph Admin Admin.admin Connections.external Item API
  description: 'Microsoft Graph API for managing administrative resources in Microsoft Entra ID.

    This API enables administrators to manage Microsoft Edge browser settings, Internet Explorer mode configurations,

    site lists, shared browser sites, Microsoft 365 Apps installation options, people insights, service announcements,

    SharePoint settings, Copilot administration, directory administrative units, and admin consent policies.'
  version: 1.0.0
  contact:
    name: Microsoft Graph API Support
    url: https://developer.microsoft.com/graph
servers:
- url: https://graph.microsoft.com/v1.0
  description: Microsoft Graph API v1.0 endpoint
tags:
- name: connections.externalItem
paths:
  /connections/{externalConnection-id}/items:
    description: Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity.
    parameters:
    - name: externalConnection-id
      in: path
      description: The unique identifier of externalConnection
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalConnection
    get:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Get items from connections
      operationId: connections.ListItems
      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.externalConnectors.externalItemCollectionResponse'
        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:
      - connections.externalItem
      summary: Microsoft Graph Create new navigation property to items for connections
      operationId: connections.CreateItems
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalItem'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalItem'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /connections/{externalConnection-id}/items/{externalItem-id}:
    description: Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity.
    parameters:
    - name: externalConnection-id
      in: path
      description: The unique identifier of externalConnection
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalConnection
    - name: externalItem-id
      in: path
      description: The unique identifier of externalItem
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalItem
    get:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Get items from connections
      operationId: connections.GetItems
      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.externalConnectors.externalItem'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    put:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Update the navigation property items in connections
      operationId: connections.SetItems
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalItem'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalItem'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Delete navigation property items for connections
      operationId: connections.DeleteItems
      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
  /connections/{externalConnection-id}/items/{externalItem-id}/activities:
    description: Provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity.
    parameters:
    - name: externalConnection-id
      in: path
      description: The unique identifier of externalConnection
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalConnection
    - name: externalItem-id
      in: path
      description: The unique identifier of externalItem
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalItem
    get:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Get activities from connections
      description: Returns a list of activities performed on the item. Write-only.
      operationId: connections.items.ListActivities
      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.externalConnectors.externalActivityCollectionResponse'
        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:
      - connections.externalItem
      summary: Microsoft Graph Create new navigation property to activities for connections
      operationId: connections.items.CreateActivities
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalActivity'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalActivity'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /connections/{externalConnection-id}/items/{externalItem-id}/activities/{externalActivity-id}:
    description: Provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity.
    parameters:
    - name: externalConnection-id
      in: path
      description: The unique identifier of externalConnection
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalConnection
    - name: externalItem-id
      in: path
      description: The unique identifier of externalItem
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalItem
    - name: externalActivity-id
      in: path
      description: The unique identifier of externalActivity
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalActivity
    get:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Get activities from connections
      description: Returns a list of activities performed on the item. Write-only.
      operationId: connections.items.GetActivities
      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.externalConnectors.externalActivity'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Update the navigation property activities in connections
      operationId: connections.items.UpdateActivities
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalActivity'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalActivity'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Delete navigation property activities for connections
      operationId: connections.items.DeleteActivities
      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
  /connections/{externalConnection-id}/items/{externalItem-id}/activities/{externalActivity-id}/performedBy:
    description: Provides operations to manage the performedBy property of the microsoft.graph.externalConnectors.externalActivity entity.
    parameters:
    - name: externalConnection-id
      in: path
      description: The unique identifier of externalConnection
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalConnection
    - name: externalItem-id
      in: path
      description: The unique identifier of externalItem
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalItem
    - name: externalActivity-id
      in: path
      description: The unique identifier of externalActivity
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalActivity
    get:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Get performedBy from connections
      description: Represents an identity used to identify who is responsible for the activity.
      operationId: connections.items.activities.GetPerformedBy
      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.externalConnectors.identity'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /connections/{externalConnection-id}/items/{externalItem-id}/activities/$count:
    description: Provides operations to count the resources in the collection.
    parameters:
    - name: externalConnection-id
      in: path
      description: The unique identifier of externalConnection
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalConnection
    - name: externalItem-id
      in: path
      description: The unique identifier of externalItem
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalItem
    get:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Get the number of the resource
      operationId: connections.items.activities.GetCount-5552
      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'
  /connections/{externalConnection-id}/items/{externalItem-id}/microsoft.graph.externalConnectors.addActivities:
    description: Provides operations to call the addActivities method.
    parameters:
    - name: externalConnection-id
      in: path
      description: The unique identifier of externalConnection
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalConnection
    - name: externalItem-id
      in: path
      description: The unique identifier of externalItem
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalItem
    post:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Invoke action addActivities
      description: Append additional instances of externalActivity objects on an externalItem.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-addactivities?view=graph-rest-1.0
      operationId: connections.externalConnection.items.externalItem.addActivities
      requestBody:
        description: Action parameters
        content:
          application/json:
            schema:
              type: object
              properties:
                activities:
                  type: array
                  items:
                    $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalActivity'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                title: Collection of externalActivityResult
                type: object
                allOf:
                - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse'
                - type: object
                  properties:
                    value:
                      type: array
                      items:
                        $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalActivityResult'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: action
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
  /connections/{externalConnection-id}/items/$count:
    description: Provides operations to count the resources in the collection.
    parameters:
    - name: externalConnection-id
      in: path
      description: The unique identifier of externalConnection
      required: true
      schema:
        type: string
      x-ms-docs-key-type: externalConnection
    get:
      tags:
      - connections.externalItem
      summary: Microsoft Graph Get the number of the resource
      operationId: connections.items.GetCount-eebb
      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'
components:
  schemas:
    ODataCountResponse:
      type: integer
      format: int32
    microsoft.graph.ODataErrors.ErrorDetails:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        target:
          type: string
          nullable: true
    microsoft.graph.externalConnectors.externalActivityResult:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalActivity'
      - title: externalActivityResult
        required:
        - '@odata.type'
        type: object
        properties:
          error:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.publicError'
            - type: object
              nullable: true
            description: Error information that explains the failure to process an external activity.
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.externalConnectors.externalActivityResult'
    microsoft.graph.externalConnectors.properties:
      title: properties
      required:
      - '@odata.type'
      type: object
      properties:
        '@odata.type':
          type: string
    microsoft.graph.externalConnectors.externalItemCollectionResponse:
      title: Collection of externalItem
      type: object
      allOf:
      - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse'
      - type: object
        properties:
          value:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalItem'
    microsoft.graph.externalConnectors.externalItem:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: externalItem
        required:
        - '@odata.type'
        type: object
        properties:
          acl:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.externalConnectors.acl'
            description: An array of access control entries. Each entry specifies the access granted to a user or group. Required.
          content:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalItemContent'
            - type: object
              nullable: true
            description: A plain-text  representation of the contents of the item. The text in this property is full-text indexed. Optional.
          properties:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.externalConnectors.properties'
            - type: object
              nullable: true
            description: A property bag with the properties of the item. The properties MUST conform to the schema defined for the externalConnection. Required.
          activities:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalActivity'
            description: Returns a list of activities performed on the item. Write-only.
            x-ms-navigationProperty: true
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.externalConnectors.externalItem'
    microsoft.graph.externalConnectors.externalActivityType:
      title: externalActivityType
      enum:
      - viewed
      - modified
      - created
      - commented
      - unknownFutureValue
      type: string
    microsoft.graph.externalConnectors.accessType:
      title: accessType
      enum:
      - grant
      - deny
      - unknownFutureValue
      type: string
    microsoft.graph.externalConnectors.aclType:
      title: aclType
      enum:
      - user
      - group
      - everyone
      - everyoneExceptGuests
      - externalGroup
      - unknownFutureValue
      type: string
    microsoft.graph.externalConnectors.externalActivityCollectionResponse:
      title: Collection of externalActivity
      type: object
      allOf:
      - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse'
      - type: object
        properties:
          value:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalActivity'
    microsoft.graph.ODataErrors.InnerError:
      title: InnerError
      required:
      - '@odata.type'
      type: object
      properties:
        request-id:
          type: string
          description: Request Id as tracked internally by the service
          nullable: true
        client-request-id:
          type: string
          description: Client request Id as sent by the client application.
          nullable: true
        date:
          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 when the error occured.
          format: date-time
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.publicErrorDetail:
      title: publicErrorDetail
      required:
      - '@odata.type'
      type: object
      properties:
        code:
          type: string
          description: The error code.
          nullable: true
        message:
          type: string
          description: The error message.
          nullable: true
        target:
          type: string
          description: The target of the error.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.externalConnectors.identity:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: identity
        required:
        - '@odata.type'
        type: object
        properties:
          type:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.externalConnectors.identityType'
            - type: object
              nullable: true
            description: 'The type of identity. The possible values are: user or group for Microsoft Entra identities and externalgroup for groups in an external system.'
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.externalConnectors.identity'
    microsoft.graph.externalConnectors.acl:
      title: acl
      required:
      - '@odata.type'
      type: object
      properties:
        accessType:
          $ref: '#/components/schemas/microsoft.graph.externalConnectors.accessType'
        type:
          $ref: '#/components/schemas/microsoft.graph.externalConnectors.aclType'
        value:
          type: string
          description: The unique identifer of the identity. For Microsoft Entra identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. For external groups value is set to the ID of the externalGroup
        '@odata.type':
          type: string
    microsoft.graph.publicInnerError:
      title: publicInnerError
      required:
      - '@odata.type'
      type: object
      properties:
        code:
          type: string
          description: The error code.
          nullable: true
        details:
          type: array
          items:
            $ref: '#/components/schemas/microsoft.graph.publicErrorDetail'
          description: A collection of error details.
        message:
          type: string
          description: The error message.
          nullable: true
        target:
          type: string
          description: The target of the error.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.externalConnectors.externalItemContent:
      title: externalItemContent
      required:
      - '@odata.type'
      type: object
      properties:
        type:
          $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalItemContentType'
        value:
          type: string
          description: The content for the externalItem. Required.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.ODataErrors.MainError:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: string
        message:
          type: string
          x-ms-primary-error-message: true
        target:
          type: string
          nullable: true
        details:
          type: array
          items:
            $ref: '#/components/schemas/microsoft.graph.ODataErrors.ErrorDetails'
        innerError:
          $ref: '#/components/schemas/microsoft.graph.ODataErrors.InnerError'
    microsoft.graph.externalConnectors.identityType:
      title: identityType
      enum:
      - user
      - group
      - externalGroup
      - unknownFutureValue
      type: string
    microsoft.graph.externalConnectors.externalActivity:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: externalActivity
        required:
        - '@odata.type'
        type: object
        properties:
          startDateTime:
            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: The date and time when the particular activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
            format: date-time
          type:
            $ref: '#/components/schemas/microsoft.graph.externalConnectors.externalActivityType'
          performedBy:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.externalConnectors.identity'
            - type: object
              nullable: true
            description: Represents an identity used to identify who is responsible for the activity.
            x-ms-navigationProperty: true
          '@odata.type':
            type: string
        discriminator:
          propertyName: '@odata.type'
          mapping:
            '#microsoft.graph.externalConnectors.externalActivityResult': '#/components/schemas/microsoft.graph.externalConnectors.externalActivityResult'
    microsoft.graph.externalConnectors.externalItemContentType:
      title: externalItemContentType
      enum:
      - text
      - html
      - unknownFutureValue
      type: string
    BaseCollectionPaginationCountResponse:
      title: Base collection pagination and count responses
      type: object
      properties:
        '@odata.count':
          type: integer
          format: int64
          nullable: true
        '@odata.nextLink':
          type: string
          nullable: true
    microsoft.graph.ODataErrors.ODataError:
      required:
      - error
      type: object
      properties:
        error:
          $ref: '#/components/schemas/microsoft.graph.ODataErrors.MainError'
    microsoft.graph.publicError:
      title: publicError
      required:
      - '@odata.type'
      type: object
      properties:
        code:
          type: string
          description: Represents the error code.
          nullable: true
        details:
          type: array
          items:
            $ref: '#/components/schemas/microsoft.graph.publicErrorDetail'
          description: Details of the error.
        innerError:
          anyOf:
          - $ref: '#/components/schemas/microsoft.graph.publicInnerError'
          - type: object
            nullable: true
          description: Details of the inner error.
        message:
          type: string
          description: A non-localized message for the developer.
          nullable: true
        target:
          type: string
          description: The target of the error.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.entity:
      title: entity
      required:
      - '@odata.type'
      type: object
      properties:
        id:
          type: string
          description: The unique identifier for an entity. Read-only.
        '@odata.type':
          type: string
      discriminator:
        propertyName: '@odata.type'
        mapping:
          '#microsoft.graph.accessPackage': '#/components/schemas/microsoft.graph.accessPackage'
          '#microsoft.graph.accessPackageAssignment': '#/components/schemas/microsoft.graph.accessPackageAssignment'
          '#microsoft.graph.accessPackageAssignmentPolicy': '#/components/schemas/microsoft.graph.accessPackageAssignmentPolicy'
          '#microsoft.graph.accessPackageAssignmentRequest': '#/components/schemas/microsoft.graph.accessPackageAssignmentRequest'
          '#microsoft.graph.accessPackageCatalog': '#/components/schemas/microsoft.graph.accessPackageCatalog'
          '#microsoft.graph.accessPackageQuestion': '#/components/schemas/microsoft.graph.accessPackageQuestion'
          '#microsoft.graph.accessPackageMultipleChoiceQuestion': '#/components/schemas/microsoft.graph.accessPackageMultipleChoiceQuestion'
          '#microsoft.graph.accessPackageTextInputQuestion': '#/components/schemas/microsoft.graph.accessPackageTextInputQuestion'
          '#microsoft.graph.accessPackageReso

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