Microsoft Graph · Capability

Microsoft Graph Serviceprincipals — servicePrincipals.directoryObject

Microsoft Graph Serviceprincipals — servicePrincipals.directoryObject. 66 operations. Lead operation: Microsoft Graph servicePrincipal: List createdObjects. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft GraphservicePrincipals.directoryObject

What You Can Do

GET
Serviceprincipalslistcreatedobjects — Microsoft Graph servicePrincipal: List createdObjects
/v1/serviceprincipals/{serviceprincipal-id}/createdobjects
GET
Serviceprincipalscreatedobjectsgetcount0714 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/createdobjects/count
GET
Serviceprincipalslistcreatedobjectsasserviceprincipal — Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/createdobjects/graph-serviceprincipal
GET
Serviceprincipalscreatedobjectsgetcountasserviceprincipal768a — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/createdobjects/graph-serviceprincipal/count
GET
Serviceprincipalsgetcreatedobjects — Microsoft Graph Get createdObjects from servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/createdobjects/{directoryobject-id}
GET
Serviceprincipalsgetcreatedobjectsasserviceprincipal — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
/v1/serviceprincipals/{serviceprincipal-id}/createdobjects/{directoryobject-id}/graph-serviceprincipal
GET
Serviceprincipalslistmemberof — Microsoft Graph List servicePrincipal memberOf
/v1/serviceprincipals/{serviceprincipal-id}/memberof
GET
Serviceprincipalsmemberofgetcountbe11 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/memberof/count
GET
Serviceprincipalslistmemberofasadministrativeunit — Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/memberof/graph-administrativeunit
GET
Serviceprincipalsmemberofgetcountasadministrativeunit472e — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/memberof/graph-administrativeunit/count
GET
Serviceprincipalslistmemberofasdirectoryrole — Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/memberof/graph-directoryrole
GET
Serviceprincipalsmemberofgetcountasdirectoryrolefa4e — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/memberof/graph-directoryrole/count
GET
Serviceprincipalslistmemberofasgroup — Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/memberof/graph-group
GET
Serviceprincipalsmemberofgetcountasgroup96d9 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/memberof/graph-group/count
GET
Serviceprincipalsgetmemberof — Microsoft Graph Get memberOf from servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/memberof/{directoryobject-id}
GET
Serviceprincipalsgetmemberofasadministrativeunit — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
/v1/serviceprincipals/{serviceprincipal-id}/memberof/{directoryobject-id}/graph-administrativeunit
GET
Serviceprincipalsgetmemberofasdirectoryrole — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole
/v1/serviceprincipals/{serviceprincipal-id}/memberof/{directoryobject-id}/graph-directoryrole
GET
Serviceprincipalsgetmemberofasgroup — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group
/v1/serviceprincipals/{serviceprincipal-id}/memberof/{directoryobject-id}/graph-group
GET
Serviceprincipalslistownedobjects — Microsoft Graph servicePrincipals: List ownedObjects
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects
GET
Serviceprincipalsownedobjectsgetcount7ae7 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/count
GET
Serviceprincipalslistownedobjectsasapproleassignment — Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/graph-approleassignment
GET
Serviceprincipalsownedobjectsgetcountasapproleassignment793c — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/graph-approleassignment/count
GET
Serviceprincipalslistownedobjectsasapplication — Microsoft Graph Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/graph-application
GET
Serviceprincipalsownedobjectsgetcountasapplication2b95 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/graph-application/count
GET
Serviceprincipalslistownedobjectsasendpoint — Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/graph-endpoint
GET
Serviceprincipalsownedobjectsgetcountasendpoint4594 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/graph-endpoint/count
GET
Serviceprincipalslistownedobjectsasgroup — Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/graph-group
GET
Serviceprincipalsownedobjectsgetcountasgroupfc2e — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/graph-group/count
GET
Serviceprincipalslistownedobjectsasserviceprincipal — Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/graph-serviceprincipal
GET
Serviceprincipalsownedobjectsgetcountasserviceprincipal19c0 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/graph-serviceprincipal/count
GET
Serviceprincipalsgetownedobjects — Microsoft Graph Get ownedObjects from servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/{directoryobject-id}
GET
Serviceprincipalsgetownedobjectsasapproleassignment — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/{directoryobject-id}/graph-approleassignment
GET
Serviceprincipalsgetownedobjectsasapplication — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.application
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/{directoryobject-id}/graph-application
GET
Serviceprincipalsgetownedobjectsasendpoint — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/{directoryobject-id}/graph-endpoint
GET
Serviceprincipalsgetownedobjectsasgroup — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/{directoryobject-id}/graph-group
GET
Serviceprincipalsgetownedobjectsasserviceprincipal — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
/v1/serviceprincipals/{serviceprincipal-id}/ownedobjects/{directoryobject-id}/graph-serviceprincipal
GET
Serviceprincipalslistowners — Microsoft Graph Get owners from servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/owners
GET
Serviceprincipalsownersgetcountec9a — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/owners/count
GET
Serviceprincipalslistrefowners — Microsoft Graph Get ref of owners from servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/owners/ref
POST
Serviceprincipalscreaterefowners — Microsoft Graph servicePrincipal: Add owner
/v1/serviceprincipals/{serviceprincipal-id}/owners/ref
DELETE
Serviceprincipalsdeleterefowners — Microsoft Graph Remove service principal owner
/v1/serviceprincipals/{serviceprincipal-id}/owners/ref
GET
Serviceprincipalslistownersasapproleassignment — Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/owners/graph-approleassignment
GET
Serviceprincipalsownersgetcountasapproleassignmentabce — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/owners/graph-approleassignment/count
GET
Serviceprincipalslistownersasendpoint — Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/owners/graph-endpoint
GET
Serviceprincipalsownersgetcountasendpoint9454 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/owners/graph-endpoint/count
GET
Serviceprincipalslistownersasserviceprincipal — Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/owners/graph-serviceprincipal
GET
Serviceprincipalsownersgetcountasserviceprincipalc35b — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/owners/graph-serviceprincipal/count
GET
Serviceprincipalslistownersasuser — Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/owners/graph-user
GET
Serviceprincipalsownersgetcountasuseraab7 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/owners/graph-user/count
DELETE
Serviceprincipalsownersdeleterefdirectoryobject — Microsoft Graph Remove service principal owner
/v1/serviceprincipals/{serviceprincipal-id}/owners/{directoryobject-id}/ref
GET
Serviceprincipalsgetownersasapproleassignment — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
/v1/serviceprincipals/{serviceprincipal-id}/owners/{directoryobject-id}/graph-approleassignment
GET
Serviceprincipalsgetownersasendpoint — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint
/v1/serviceprincipals/{serviceprincipal-id}/owners/{directoryobject-id}/graph-endpoint
GET
Serviceprincipalsgetownersasserviceprincipal — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
/v1/serviceprincipals/{serviceprincipal-id}/owners/{directoryobject-id}/graph-serviceprincipal
GET
Serviceprincipalsgetownersasuser — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
/v1/serviceprincipals/{serviceprincipal-id}/owners/{directoryobject-id}/graph-user
GET
Serviceprincipalslisttransitivememberof — Microsoft Graph List servicePrincipal transitive memberOf
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof
GET
Serviceprincipalstransitivememberofgetcount4794 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/count
GET
Serviceprincipalslisttransitivememberofasadministrativeunit — Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/graph-administrativeunit
GET
Serviceprincipalstransitivememberofgetcountasadministrativeunit4450 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/graph-administrativeunit/count
GET
Serviceprincipalslisttransitivememberofasdirectoryrole — Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/graph-directoryrole
GET
Serviceprincipalstransitivememberofgetcountasdirectoryrole8951 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/graph-directoryrole/count
GET
Serviceprincipalslisttransitivememberofasgroup — Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/graph-group
GET
Serviceprincipalstransitivememberofgetcountasgroupe005 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/graph-group/count
GET
Serviceprincipalsgettransitivememberof — Microsoft Graph Get transitiveMemberOf from servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/{directoryobject-id}
GET
Serviceprincipalsgettransitivememberofasadministrativeunit — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/{directoryobject-id}/graph-administrativeunit
GET
Serviceprincipalsgettransitivememberofasdirectoryrole — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/{directoryobject-id}/graph-directoryrole
GET
Serviceprincipalsgettransitivememberofasgroup — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group
/v1/serviceprincipals/{serviceprincipal-id}/transitivememberof/{directoryobject-id}/graph-group

MCP Tools

microsoft-graph-serviceprincipal-list-createdobjects

Microsoft Graph servicePrincipal: List createdObjects

read-only idempotent
microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type

Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-2

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-createdobjects-serviceprincipals

Microsoft Graph Get createdObjects from servicePrincipals

read-only idempotent
microsoft-graph-get-item-type

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal

read-only idempotent
microsoft-graph-list-serviceprincipal-memberof

Microsoft Graph List servicePrincipal memberOf

read-only idempotent
microsoft-graph-get-number-resource-3

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-2

Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-4

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-3

Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-5

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-4

Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-6

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-memberof-serviceprincipals

Microsoft Graph Get memberOf from servicePrincipals

read-only idempotent
microsoft-graph-get-item-type-2

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit

read-only idempotent
microsoft-graph-get-item-type-3

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole

read-only idempotent
microsoft-graph-get-item-type-4

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group

read-only idempotent
microsoft-graph-serviceprincipals-list-ownedobjects

Microsoft Graph servicePrincipals: List ownedObjects

read-only idempotent
microsoft-graph-get-number-resource-7

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-5

Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-8

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-6

Microsoft Graph Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-9

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-7

Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-10

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-8

Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-11

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-9

Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-12

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-ownedobjects-serviceprincipals

Microsoft Graph Get ownedObjects from servicePrincipals

read-only idempotent
microsoft-graph-get-item-type-5

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment

read-only idempotent
microsoft-graph-get-item-type-6

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.application

read-only idempotent
microsoft-graph-get-item-type-7

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint

read-only idempotent
microsoft-graph-get-item-type-8

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group

read-only idempotent
microsoft-graph-get-item-type-9

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal

read-only idempotent
microsoft-graph-get-owners-serviceprincipals

Microsoft Graph Get owners from servicePrincipals

read-only idempotent
microsoft-graph-get-number-resource-13

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-ref-owners

Microsoft Graph Get ref of owners from servicePrincipals

read-only idempotent
microsoft-graph-serviceprincipal-add-owner

Microsoft Graph servicePrincipal: Add owner

microsoft-graph-remove-service-principal

Microsoft Graph Remove service principal owner

idempotent
microsoft-graph-get-items-type-10

Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-14

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-11

Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-15

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-12

Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-16

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-13

Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-17

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-remove-service-principal-2

Microsoft Graph Remove service principal owner

idempotent
microsoft-graph-get-item-type-10

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment

read-only idempotent
microsoft-graph-get-item-type-11

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint

read-only idempotent
microsoft-graph-get-item-type-12

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal

read-only idempotent
microsoft-graph-get-item-type-13

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user

read-only idempotent
microsoft-graph-list-serviceprincipal-transitive

Microsoft Graph List servicePrincipal transitive memberOf

read-only idempotent
microsoft-graph-get-number-resource-18

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-14

Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-19

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-15

Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-20

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-16

Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection

read-only idempotent
microsoft-graph-get-number-resource-21

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-transitivememberof-serviceprincipals

Microsoft Graph Get transitiveMemberOf from servicePrincipals

read-only idempotent
microsoft-graph-get-item-type-14

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit

read-only idempotent
microsoft-graph-get-item-type-15

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole

read-only idempotent
microsoft-graph-get-item-type-16

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group

read-only idempotent

Capability Spec

serviceprincipals-serviceprincipals-directoryobject.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Serviceprincipals — servicePrincipals.directoryObject
  description: 'Microsoft Graph Serviceprincipals — servicePrincipals.directoryObject. 66 operations. Lead operation: Microsoft
    Graph servicePrincipal: List createdObjects. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - servicePrincipals.directoryObject
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY
capability:
  consumes:
  - type: http
    namespace: serviceprincipals-serviceprincipals-directoryobject
    baseUri: ''
    description: Microsoft Graph Serviceprincipals — servicePrincipals.directoryObject business capability. Self-contained,
      no shared references.
    resources:
    - name: servicePrincipals-servicePrincipal-id-createdObjects
      path: /servicePrincipals/{servicePrincipal-id}/createdObjects
      operations:
      - name: serviceprincipalslistcreatedobjects
        method: GET
        description: 'Microsoft Graph servicePrincipal: List createdObjects'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-createdObjects-$count
      path: /servicePrincipals/{servicePrincipal-id}/createdObjects/$count
      operations:
      - name: serviceprincipalscreatedobjectsgetcount0714
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: servicePrincipals-servicePrincipal-id-createdObjects-graph.servicePrincipal
      path: /servicePrincipals/{servicePrincipal-id}/createdObjects/graph.servicePrincipal
      operations:
      - name: serviceprincipalslistcreatedobjectsasserviceprincipal
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject
          collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-createdObjects-graph.servicePrincipal-$cou
      path: /servicePrincipals/{servicePrincipal-id}/createdObjects/graph.servicePrincipal/$count
      operations:
      - name: serviceprincipalscreatedobjectsgetcountasserviceprincipal768a
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: servicePrincipals-servicePrincipal-id-createdObjects-directoryObject-id
      path: /servicePrincipals/{servicePrincipal-id}/createdObjects/{directoryObject-id}
      operations:
      - name: serviceprincipalsgetcreatedobjects
        method: GET
        description: Microsoft Graph Get createdObjects from servicePrincipals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-createdObjects-directoryObject-id-graph.se
      path: /servicePrincipals/{servicePrincipal-id}/createdObjects/{directoryObject-id}/graph.servicePrincipal
      operations:
      - name: serviceprincipalsgetcreatedobjectsasserviceprincipal
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-memberOf
      path: /servicePrincipals/{servicePrincipal-id}/memberOf
      operations:
      - name: serviceprincipalslistmemberof
        method: GET
        description: Microsoft Graph List servicePrincipal memberOf
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-memberOf-$count
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/$count
      operations:
      - name: serviceprincipalsmemberofgetcountbe11
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: servicePrincipals-servicePrincipal-id-memberOf-graph.administrativeUnit
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/graph.administrativeUnit
      operations:
      - name: serviceprincipalslistmemberofasadministrativeunit
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject
          collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-memberOf-graph.administrativeUnit-$count
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/graph.administrativeUnit/$count
      operations:
      - name: serviceprincipalsmemberofgetcountasadministrativeunit472e
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: servicePrincipals-servicePrincipal-id-memberOf-graph.directoryRole
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/graph.directoryRole
      operations:
      - name: serviceprincipalslistmemberofasdirectoryrole
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject
          collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-memberOf-graph.directoryRole-$count
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/graph.directoryRole/$count
      operations:
      - name: serviceprincipalsmemberofgetcountasdirectoryrolefa4e
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: servicePrincipals-servicePrincipal-id-memberOf-graph.group
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/graph.group
      operations:
      - name: serviceprincipalslistmemberofasgroup
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-memberOf-graph.group-$count
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/graph.group/$count
      operations:
      - name: serviceprincipalsmemberofgetcountasgroup96d9
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: servicePrincipals-servicePrincipal-id-memberOf-directoryObject-id
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/{directoryObject-id}
      operations:
      - name: serviceprincipalsgetmemberof
        method: GET
        description: Microsoft Graph Get memberOf from servicePrincipals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-memberOf-directoryObject-id-graph.administ
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/{directoryObject-id}/graph.administrativeUnit
      operations:
      - name: serviceprincipalsgetmemberofasadministrativeunit
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-memberOf-directoryObject-id-graph.director
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/{directoryObject-id}/graph.directoryRole
      operations:
      - name: serviceprincipalsgetmemberofasdirectoryrole
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-memberOf-directoryObject-id-graph.group
      path: /servicePrincipals/{servicePrincipal-id}/memberOf/{directoryObject-id}/graph.group
      operations:
      - name: serviceprincipalsgetmemberofasgroup
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects
      operations:
      - name: serviceprincipalslistownedobjects
        method: GET
        description: 'Microsoft Graph servicePrincipals: List ownedObjects'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-$count
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/$count
      operations:
      - name: serviceprincipalsownedobjectsgetcount7ae7
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-graph.appRoleAssignment
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/graph.appRoleAssignment
      operations:
      - name: serviceprincipalslistownedobjectsasapproleassignment
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject
          collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-graph.appRoleAssignment-$coun
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/graph.appRoleAssignment/$count
      operations:
      - name: serviceprincipalsownedobjectsgetcountasapproleassignment793c
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-graph.application
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/graph.application
      operations:
      - name: serviceprincipalslistownedobjectsasapplication
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject
          collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-graph.application-$count
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/graph.application/$count
      operations:
      - name: serviceprincipalsownedobjectsgetcountasapplication2b95
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-graph.endpoint
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/graph.endpoint
      operations:
      - name: serviceprincipalslistownedobjectsasendpoint
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject
          collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-graph.endpoint-$count
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/graph.endpoint/$count
      operations:
      - name: serviceprincipalsownedobjectsgetcountasendpoint4594
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-graph.group
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/graph.group
      operations:
      - name: serviceprincipalslistownedobjectsasgroup
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-graph.group-$count
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/graph.group/$count
      operations:
      - name: serviceprincipalsownedobjectsgetcountasgroupfc2e
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-graph.servicePrincipal
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/graph.servicePrincipal
      operations:
      - name: serviceprincipalslistownedobjectsasserviceprincipal
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject
          collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-graph.servicePrincipal-$count
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/graph.servicePrincipal/$count
      operations:
      - name: serviceprincipalsownedobjectsgetcountasserviceprincipal19c0
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-directoryObject-id
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/{directoryObject-id}
      operations:
      - name: serviceprincipalsgetownedobjects
        method: GET
        description: Microsoft Graph Get ownedObjects from servicePrincipals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-directoryObject-id-graph.appR
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/{directoryObject-id}/graph.appRoleAssignment
      operations:
      - name: serviceprincipalsgetownedobjectsasapproleassignment
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-directoryObject-id-graph.appl
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/{directoryObject-id}/graph.application
      operations:
      - name: serviceprincipalsgetownedobjectsasapplication
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-directoryObject-id-graph.endp
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/{directoryObject-id}/graph.endpoint
      operations:
      - name: serviceprincipalsgetownedobjectsasendpoint
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-directoryObject-id-graph.grou
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/{directoryObject-id}/graph.group
      operations:
      - name: serviceprincipalsgetownedobjectsasgroup
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-ownedObjects-directoryObject-id-graph.serv
      path: /servicePrincipals/{servicePrincipal-id}/ownedObjects/{directoryObject-id}/graph.servicePrincipal
      operations:
      - name: serviceprincipalsgetownedobjectsasserviceprincipal
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-owners
      path: /servicePrincipals/{servicePrincipal-id}/owners
      operations:
      - name: serviceprincipalslistowners
        method: GET
        description: Microsoft Graph Get owners from servicePrincipals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: servicePrincipals-servicePrincipal-id-owners-$count
      path: /servicePrincipals/{servicePrincipal-id}/owners/$count
      operations:
      - name: serviceprincipalsownersgetcountec9a
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: servicePrincipals-servicePrincipal-id-owners-$ref
      path: /servicePrincipals/{servicePrincipal-id}/owners/$ref
      operations:
      - name: serviceprincipalslistrefowners
        method: GET
        description: Microsoft Graph Get ref of owners from servicePrincipals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
      - name: serviceprincipalscreaterefowners
        method: POST
        description: 'Microsoft Graph servicePrincipal: Add owner'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: serviceprincipalsdeleterefowners
        method: DELETE
        description: Microsoft Graph Remove service principal owner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
        - name: '@id'
          in: query
          type: string
          description: The delete Uri
          required: true
    - name: servicePrincipals-servicePrincipal-id-owners-graph.appRoleAssignment
      path: /servicePrincipals/{servicePrincipal-id}/owners/graph.appRoleAssignment
      operations:
      - name: serviceprincipalslistownersasapproleassignment
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.d

# --- truncated at 32 KB (135 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-graph/refs/heads/main/capabilities/serviceprincipals-serviceprincipals-directoryobject.yaml