---
title: "GET /api/v1/azure-errors/for-tenant/{tenantPrincipalId}/dx"
method: GET
path: "/api/v1/azure-errors/for-tenant/{tenantPrincipalId}/dx"
tags: ["AzureErrors"]
---

# GET /api/v1/azure-errors/for-tenant/{tenantPrincipalId}/dx

`GET /api/v1/azure-errors/for-tenant/{tenantPrincipalId}/dx`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/azure-errors/for-tenant/{tenantPrincipalId}/dx`
- Auth: none declared

## Path parameters

- `tenantPrincipalId` string, required

## Query parameters

- `loadOptions` DataSourceLoadOptions
  - `requireTotalCount` boolean
  - `requireGroupCount` boolean
  - `isCountQuery` boolean
  - `isSummaryQuery` boolean
  - `skip` integer
  - `take` integer
  - `sort` SortingInfo[], nullable
    - `selector` string, nullable
    - `desc` boolean
  - `group` GroupingInfo[], nullable
    - `selector` string, nullable
    - `desc` boolean
    - `groupInterval` string, nullable
    - `isExpanded` boolean, nullable
  - `filter` unknown[], nullable
    - unknown
  - `totalSummary` SummaryInfo[], nullable
    - `selector` string, nullable
    - `summaryType` string, nullable
  - `groupSummary` SummaryInfo[], nullable
    - `selector` string, nullable
    - `summaryType` string, nullable
  - `select` string[], nullable
  - `preSelect` string[], nullable
  - `remoteSelect` boolean, nullable
  - `remoteGrouping` boolean, nullable
  - `expandLinqSumType` boolean, nullable
  - `primaryKey` string[], nullable
  - `defaultSort` string, nullable
  - `stringToLower` boolean, nullable
  - `paginateViaPrimaryKey` boolean, nullable
  - `sortByPrimaryKey` boolean, nullable
  - `allowAsyncOverSync` boolean

## Response `200`

OK

- AzureErrorLogItem[]
  - `id` string, uuid
  - `azureError` AzureError
    - `message` string, nullable
    - `oDataError` ODataErrorDetails
      - `code` string, nullable
      - `date` string, date-time, nullable
      - `requestId` string, nullable
      - `clientRequestId` string, nullable
      - `odataType` string, nullable
    - `msalError` MsalErrorDetails
      - `error` string, nullable
      - `errorDescription` string, nullable
      - `errorCodes` integer[], nullable
      - `timestamp` string, nullable
      - `traceId` string, nullable
      - `correlationId` string, nullable
    - `missingAccessToken` MissingAccessTokenDetails
      - `tenantId` string, nullable
      - `requiredScopes` string, nullable
    - `apiResponseContent` ApiResponseErrorContent
      - `httpMethod` string, nullable
      - `uri` string, nullable
      - `statusCode` integer
      - `content` string, nullable
    - `partnerCenterApiResponseDetails` ApiResponseErrorContent
      - `httpMethod` string, nullable
      - `uri` string, nullable
      - `statusCode` integer
      - `content` string, nullable
    - `oauthAccessTokenErrorResponse` Oauth2AccessTokenErrorResponse
      - `error` string, nullable
      - `errorDescription` string, nullable
      - `errorCodes` integer[], nullable
      - `timestamp` string, nullable
      - `traceId` string, nullable
      - `correlationId` string, nullable
    - `credentialDetails` AzureTenantTokenCredentialDetails
      - `tenantPrincipalId` string, nullable
      - `partnerPrincipalId` string, nullable
      - `gotAccessTokenFrom` 'Obo' | 'DefaultAppRegistration' | 'CustomAppRegistration' | 'OboPartnerCenter': The string or integer value may be used. Obo = 1, DefaultAppRegistration = 2, CustomAppRegistration = 3, OboPartnerCenter = 4
      - `resolvedClientId` string, nullable
      - `onlyUsePartnerCenterRefresh` boolean
      - `tenantPreferredAzureClientId` string, nullable
      - `tenantAzurePermissionLevel` 'DefaultAppRegistration' | 'CustomAppRegistration': The string or integer value may be used. DefaultAppRegistration = 1, CustomAppRegistration = 3
    - `formattedErrorMessage` string, nullable
  - `sourceMessage` string, nullable
  - `tenantPrincipalId` string, nullable
  - `oauth2AccessTokenId` integer, nullable
  - `createdDateUtc` string, date-time

---

[API](https://skmtc.dev/immy/apis/immy-bot-api-2.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api-2/revisions/75b50268fa51?raw)
