Skip to main content

Interface: TeamsAccountResponse

Defined in: packages/sdk/src/types/generated/app_connection.ts:423

Response model for a workspace member's linked Teams (Entra) account.

PII surface — memberEmail and teamsEmail are surfaced to readers with Scope.APPS_READ. This intentionally matches SlackAccountResponse (memberEmail + slackEmail) so the account-link admin UI has identical scope semantics across integrations. A tighter PII gate on this surface (e.g. requiring APPS_ADMIN) is tracked as a cross-integration follow-up — see Urðarbrunnr review on #11653 (LOW) — and should be applied to Slack at the same time.

Properties

aadObjectId

aadObjectId: string

Defined in: packages/sdk/src/types/generated/app_connection.ts:428


connectedAt?

optional connectedAt: string | null

Defined in: packages/sdk/src/types/generated/app_connection.ts:434


displayName?

optional displayName: string | null

Defined in: packages/sdk/src/types/generated/app_connection.ts:430


emailVerified

emailVerified: boolean

Defined in: packages/sdk/src/types/generated/app_connection.ts:433


id

id: number

Defined in: packages/sdk/src/types/generated/app_connection.ts:424


lastUsedAt?

optional lastUsedAt: string | null

Defined in: packages/sdk/src/types/generated/app_connection.ts:435


memberEmail?

optional memberEmail: string | null

Defined in: packages/sdk/src/types/generated/app_connection.ts:427


memberId

memberId: number

Defined in: packages/sdk/src/types/generated/app_connection.ts:425


memberName?

optional memberName: string | null

Defined in: packages/sdk/src/types/generated/app_connection.ts:426


teamsEmail?

optional teamsEmail: string | null

Defined in: packages/sdk/src/types/generated/app_connection.ts:432


tenantId?

optional tenantId: string | null

Defined in: packages/sdk/src/types/generated/app_connection.ts:429


userPrincipalName?

optional userPrincipalName: string | null

Defined in: packages/sdk/src/types/generated/app_connection.ts:431