Query
query WorkspaceMSTeamsIntegration {
workspaceMSTeamsIntegration {
id
msTeamsTenantId
isReinstallRequired
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
userId
user {
__typename
}
}
}
updatedAt {
unixTimestamp
iso8601
}
}
}Response
{
"data": {
"workspaceMSTeamsIntegration": {
"id": "id",
"msTeamsTenantId": "id",
"isReinstallRequired": true,
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor",
"userId": "id",
"user": {
"__typename": "User"
}
},
"updatedAt": {
"unixTimestamp": "string",
"iso8601": "string"
}
}
}
}Queries
workspaceMSTeamsIntegration
Returns the workspace-level Microsoft Teams integration, or null if none has been created yet.
QUERY
workspaceMSTeamsIntegration: WorkspaceMSTeamsIntegrationReturns
id
ID!
msTeamsTenantId
ID!
The Azure Active Directory tenant ID for the connected Microsoft Teams organization.
isReinstallRequired
Boolean!
When true, the workspace admin must re-authorize the integration (e.g. because required permissions have changed).
createdAt
createdBy
updatedAt
updatedBy
Query
query WorkspaceMSTeamsIntegration {
workspaceMSTeamsIntegration {
id
msTeamsTenantId
isReinstallRequired
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
userId
user {
__typename
}
}
}
updatedAt {
unixTimestamp
iso8601
}
}
}Response
{
"data": {
"workspaceMSTeamsIntegration": {
"id": "id",
"msTeamsTenantId": "id",
"isReinstallRequired": true,
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor",
"userId": "id",
"user": {
"__typename": "User"
}
},
"updatedAt": {
"unixTimestamp": "string",
"iso8601": "string"
}
}
}
}Was this page helpful?

