Skip to content

o365ServiceAccount

Gets the service account for the given org.

Arguments

Argument Type Description
orgId (required) UUID! Org UUID.

Returns

O365ServiceAccountStatusResp!

Sample

query O365ServiceAccount($orgId: UUID!) {
  o365ServiceAccount(orgId: $orgId) {
    status
    username
  }
}
{
  "orgId": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "o365ServiceAccount": {
      "status": "INVALID",
      "username": "example-string"
    }
  }
}