Get user sessions for a session host

Returns the people currently logged in to one session host, scoped to that host alone.
In Azure AVD this includes Active, Pending, and Disconnected sessions: any session where the user has not logged off.
Covers a single host, not the whole pool.

Path Params
uuid
required

The unique identifier of the session host.

Query Params
string
length ≤ 256

Sort specification string.

Format:
field:direction,otherField:direction

Directions: asc, desc, ascending, descending — defaults to ascending when omitted

Fields (names are matched case-insensitively):
activeDirectoryUserName, applicationType, currentStateDuration, currentStateStartTime, id, sessionDuration, sessionEndTime, sessionHostId, sessionHostName, sessionHostNameAlias, sessionName, sessionNumericAlias, sessionStartTime, sessionState, userPrincipalName

Default when omitted: sessionStartTime:desc.

int32
1 to 2147483647

The page number to retrieve (1-based). Default: 1.

int32
1 to 100

The number of items per page (1-100). Default: 50.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json