azureAdDirectories
Lists all Azure AD directories for the account.
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. |
| sortBy | HierarchySortByField | Sort hierarchy objects according to the hierarchy field. |
| sortOrder | SortOrder | Sorts the order of results. |
| filter | [Filter!] | Hierarchy object filter. |
Returns
Sample
query {
azureAdDirectories(first: 10) {
nodes {
appId
appOwner
authorizedOperations
directoryId
doesEventHubIngestionRequireAzureSignIn
domainName
eventHubConnectionStatus
eventHubPermissionsStatus
exoHostType
exocomputeId
firstDeviceSnapshotTime
firstScopeSnapshotTime
firstZeusSnapshotTime
id
isEventHubIngestionEnabled
isIntuneEnabled
isJitEnabled
isProvisioned
isRelic
isRubrikManagedApp
latestAccessReviewScheduleDefinitionCount
latestAdministrativeUnitsCount
latestApplicationsCount
latestAssignmentFilterCount
latestAuthenticationContextsCount
latestAuthenticationStrengthsCount
latestBitLockerKeyCount
latestCompliancePolicyCount
latestComplianceScriptCount
latestConditionalAccessPoliciesCount
latestDeviceCount
latestEmAccessPackageCount
latestEmCatalogCount
latestGroupActiveAssignmentCount
latestGroupCount
latestGroupEligibleAssignmentCount
latestLocalAdminPasswordCount
latestNamedLocationsCount
latestNotificationTemplateCount
latestRoleEligibleAssignmentCount
latestRolesCount
latestServicePrincipalsCount
latestSnapshotTime
latestTermsOfUseCount
latestUserCount
legallyHeldSnapshotCount
m365AccessRecoveryState
migratedFromColossus
name
numWorkloadDescendants
objectType
onDemandSnapshotCount
provisioningState
region
rscPendingObjectPauseAssignment
slaAssignment
slaPauseStatus
tenantType
}
pageInfo {
hasNextPage
endCursor
}
}
}
{
"data": {
"azureAdDirectories": {
"nodes": [
[
{
"appId": "example-string",
"appOwner": "example-string",
"authorizedOperations": [
"ACCESS_CDM_CLUSTER"
],
"directoryId": "example-string",
"doesEventHubIngestionRequireAzureSignIn": true,
"domainName": "example-string"
}
]
],
"pageInfo": {
"endCursor": "example-string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "example-string"
}
}
}
}