Teams presence
For an existing Microsoft Graph API connection, this activity can be used to set, retrieve or clear the presence of a user defined on the Microsoft Azure system. The user's ID is an input value to the activity, along with an action value indicating Set, Get or Clear presence. If Set presence is requested, the formatted body of the request must also be provided to the activity to specify the presence value, as shown below:
{
"sessionId": "22553876-f5ab-4529-bffb-cfe50aa89f87",
"availability": "Available",
"activity": "Available",
"expirationDuration": "PT1H"
}
Refer to the Microsoft Graph REST API documentation for details on the options for setting presence.
A connection must be created to Microsoft Graph API to use this activity. For Azure permissions, refer to the Microsoft Azure Integration section.
| Parameters | Description |
|---|---|
Connection |
Drop-down list of Graph connections. |
Id |
Unique identifier of the user. |
Action |
Options are
|
Payload |
Formatted body of the request if 'Set' or 'Set User Presence' are selected. |
| Parameters | Description |
|---|---|
StatusCode |
HTTP response code for the request. |
Success |
Indicates whether the activity was completed successfully (value = True) or not (value = False). |
Headers |
Array of HTTP headers from the response. |
Body |
Returns the JSON formatted response from the activity. |