{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Graph Admin Admin.admin servicePrincipals.directoryObject API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "servicePrincipals.directoryObject",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Graph List servicePrincipal memberOf",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Get the groups and directory roles that this servicePrincipal is a direct member of. This operation is not transitive."
        },
        {
          "info": {
            "name": "Microsoft Graph Get memberOf from servicePrincipals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/:directoryObject-id",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand."
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/:directoryObject-id/graph.administrativeUnit",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/:directoryObject-id/graph.directoryRole",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/:directoryObject-id/graph.group",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/graph.administrativeUnit",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/graph.administrativeUnit/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/graph.directoryRole",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/graph.directoryRole/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/graph.group",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/memberOf/graph.group/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph servicePrincipal: List createdObjects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/createdObjects",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Retrieve a list of directoryobject objects."
        },
        {
          "info": {
            "name": "Microsoft Graph Get createdObjects from servicePrincipals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/createdObjects/:directoryObject-id",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Directory objects created by this service principal. Read-only. Nullable."
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/createdObjects/:directoryObject-id/graph.servicePrincipal",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/createdObjects/$count",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/createdObjects/graph.servicePrincipal",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/createdObjects/graph.servicePrincipal/$count",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph servicePrincipals: List ownedObjects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Retrieve a list of objects owned by the servicePrincipal.  This could include applications or groups."
        },
        {
          "info": {
            "name": "Microsoft Graph Get ownedObjects from servicePrincipals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/:directoryObject-id",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Directory objects that this service principal owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1)."
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/:directoryObject-id/graph.application",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.application"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/:directoryObject-id/graph.appRoleAssignment",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/:directoryObject-id/graph.endpoint",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/:directoryObject-id/graph.group",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/:directoryObject-id/graph.servicePrincipal",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/$count",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/graph.application",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/graph.application/$count",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/graph.appRoleAssignment",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/graph.appRoleAssignment/$count",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/graph.endpoint",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/graph.endpoint/$count",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/graph.group",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/graph.group/$count",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/graph.servicePrincipal",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/ownedObjects/graph.servicePrincipal/$count",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get owners from servicePrincipals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand."
        },
        {
          "info": {
            "name": "Microsoft Graph Remove service principal owner",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/:directoryObject-id/$ref",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              }
            ]
          },
          "docs": "Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners."
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/:directoryObject-id/graph.appRoleAssignment",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/:directoryObject-id/graph.endpoint",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/:directoryObject-id/graph.servicePrincipal",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/:directoryObject-id/graph.user",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get ref of owners from servicePrincipals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/$ref",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              }
            ]
          },
          "docs": "Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand."
        },
        {
          "info": {
            "name": "Microsoft Graph servicePrincipal: Add owner",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/$ref",
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use this API to add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals."
        },
        {
          "info": {
            "name": "Microsoft Graph Remove service principal owner",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/$ref",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "@id",
                "value": "",
                "type": "query",
                "description": "The delete Uri"
              }
            ]
          },
          "docs": "Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners."
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/graph.appRoleAssignment",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/graph.appRoleAssignment/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/graph.endpoint",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/graph.endpoint/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/graph.servicePrincipal",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/graph.servicePrincipal/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/graph.user",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/owners/graph.user/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph List servicePrincipal transitive memberOf",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Get the groups and directory roles that this servicePrincipal is a member of. This operation is transitive and will include all groups that this service principal is a nested member of."
        },
        {
          "info": {
            "name": "Microsoft Graph Get transitiveMemberOf from servicePrincipals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/:directoryObject-id",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get transitiveMemberOf from servicePrincipals"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/:directoryObject-id/graph.administrativeUnit",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/:directoryObject-id/graph.directoryRole",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/:directoryObject-id/graph.group",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "directoryObject-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of directoryObject"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/graph.administrativeUnit",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/graph.administrativeUnit/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/graph.directoryRole",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/graph.directoryRole/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/graph.group",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection"
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/transitiveMemberOf/graph.group/$count",
            "headers": [
              {
                "name": "ConsistencyLevel",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "servicePrincipal-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of servicePrincipal"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        }
      ]
    }
  ],
  "bundled": true
}