Skip to content

o365Orgs

All O365 orgs for the account.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String Returns the elements in the list that occur after the specified cursor.
sortBy HierarchySortByField Sort hierarchy objects according to the hierarchy field.
sortOrder SortOrder Sorts the order of results.
filter [Filter!] Hierarchy object filter.
workloadHierarchy WorkloadLevelHierarchy Each enumeration value represents the hierarchy of a specific workload type for RBAC and SLA Domain assignments. A value of 'None' represents the hierarchy of all workload types.

Returns

O365OrgConnection!

Sample

query {
  o365Orgs(first: 10) {
    nodes {
      authorizedOperations
      exocomputeId
      hasSharePointLegacySnapshots
      id
      name
      numWorkloadDescendants
      objectType
      onDemandSnapshotCount
      past1DayMailboxComplianceCount
      past1DayMailboxOutOfComplianceCount
      past1DayOnedriveComplianceCount
      past1DayOnedriveOutOfComplianceCount
      past1DaySharepointComplianceCount
      past1DaySharepointOutOfComplianceCount
      past1DaySpListComplianceCount
      past1DaySpListOutOfComplianceCount
      past1DaySpSiteCollectionComplianceCount
      past1DaySpSiteCollectionOutOfComplianceCount
      past1DayTeamsComplianceCount
      past1DayTeamsOutOfComplianceCount
      rscPendingObjectPauseAssignment
      slaAssignment
      slaPauseStatus
      status
      tenantId
      unprotectedUsersCount
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "o365Orgs": {
      "nodes": [
        [
          {
            "authorizedOperations": [
              "ACCESS_CDM_CLUSTER"
            ],
            "exocomputeId": "example-string",
            "hasSharePointLegacySnapshots": true,
            "id": "00000000-0000-0000-0000-000000000000",
            "name": "example-string",
            "numWorkloadDescendants": 0
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}