Skip to content

listO365Apps

Lists the O365 apps.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results.
last Int Returns the last n elements from the list.
before String An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results.
o365AppFilters (required) [AppFilter!]! Filters for the O365 app listing.
o365AppSortByParam AppSortByParam Sort parameter for the O365 app listing.

Returns

O365AppConnection!

Sample

query ListO365Apps($o365AppFilters: [AppFilter!]!) {
  listO365Apps(
    o365AppFilters: $o365AppFilters
    first: 10
  ) {
    nodes {
      accessMode
      addedAt
      appAuthStatus
      appAuthVersion
      appId
      appOwner
      appType
      credsState
      isAuthenticated
      subscription
      subscriptionId
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "o365AppFilters": [
    {}
  ]
}
{
  "data": {
    "listO365Apps": {
      "nodes": [
        [
          {
            "accessMode": "M365_ACCESS_MODE_FULL_PERMISSIONS",
            "addedAt": "2024-01-01T00:00:00.000Z",
            "appAuthStatus": "FULLY_AUTHENTICATED",
            "appAuthVersion": 0,
            "appId": "example-string",
            "appOwner": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}