Sazabi
APIIntegrations

Get the Microsoft Teams tenant admin-consent status

GET
/integrations/connections/{connectionId}/microsoft-teams-admin-consent

Read the recorded Microsoft tenant admin-consent status for a Teams connection, with a consent URL for retrying the grant.

Path Parameters

connectionId*string

Integration connection whose JIT policy is being read or updated.

Formatuuid

Query Parameters

organizationId?string

Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/integrations/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/microsoft-teams-admin-consent"
{  "status": "granted",  "grantedAt": "string",  "consentUrl": "string"}