---
title: "GET /api/v1/azure/partner-tenant-customers/{partnerPrincipalId}"
method: GET
path: "/api/v1/azure/partner-tenant-customers/{partnerPrincipalId}"
tags: ["Azure"]
---

# GET /api/v1/azure/partner-tenant-customers/{partnerPrincipalId}

`GET /api/v1/azure/partner-tenant-customers/{partnerPrincipalId}`

## 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/partner-tenant-customers/{partnerPrincipalId}`
- Auth: none declared

## Path parameters

- `partnerPrincipalId` string, required

## Response `200`

OK

- AzureTenantCustomersResult[]
  - `partnerPrincipalId` string, nullable
  - `result` AzureTenantCustomerICollectionAzureErrorOneOf
    - `value` unknown
    - `index` integer
    - `isT0` boolean
    - `isT1` boolean
    - `asT0` AzureTenantCustomer[], nullable
      - `tenantId` string, nullable
      - `displayName` string, nullable
      - `domain` string, nullable
      - `gdapRelationships` AzureGdapRelationshipDetails[], nullable
        - `id` string, nullable
        - `displayName` string, nullable
        - `status` string, nullable
        - `durationNumDays` integer, nullable
        - `createdDateTimeUtc` string, date-time, nullable
        - `endDateTimeUtc` string, date-time, nullable
        - `autoExtendDuration` string, nullable
        - `roles` GdapRelationshipRole[], nullable
          - `roleDefinitionId` string, nullable
          - `roleDefinitionName` string, nullable
        - `accessAssignments` GdapRelationshipAccessAssignment[], nullable
          - `accessContainerId` string, nullable
          - `accessContainerType` string, nullable
    - `asT1` 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

---

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