An Azure service that is used to provision Windows and Linux virtual machines.
Hello, @eg1995 !
There are a couple ways to do this. From the Azure Portal, go to your host pool > session host > select the user and Log off the user:
PowerShell
Using PowerShell, you can use the following commands.
Logoff a user session
https://learn.microsoft.com/en-us/powershell/module/az.desktopvirtualization/remove-azwvdusersession?view=azps-7.1.0
Remove-AzWvdUserSession -ResourceGroupName MyResourceGroupName -HostPoolName MyHostPoolName -SessionHostName MySessionHostName -Id 2
List all active user sessions in a host pool
https://learn.microsoft.com/en-us/powershell/module/windowsvirtualdesktop/get-rdsusersession
Get-RdsUserSession -TenantName "MyTenantName" -HostPoolName "MyHostPoolName"