Session monitoring and management for Azure Bastion
Once the Bastion service is provisioned and deployed in your virtual network, you can use it to seamlessly connect to any virtual machine in this virtual network. As users connect to workloads, Azure Bastion can be used to monitor the remote sessions and take quick management actions. Azure Bastion session monitoring lets you view which users are connected to which virtual machines. It shows the IP that the user connected from, how long the user has been connected, and when they connected. The session management experience lets you select an ongoing session and force-disconnect or delete a session in order to disconnect the user from the ongoing session.
Monitor remote sessions
- In the Azure portal, go to your Azure Bastion resource and select Sessions from the Azure Bastion page.
- On the Sessions page, you can see the ongoing remote sessions on the right side.
- Select Refresh to see the updated list of remote sessions. When you select Refresh, Azure Bastion fetches the latest monitoring information and refreshes it in the portal.
Delete or force-disconnect an ongoing remote session
You can select a set of sessions and force-disconnect them. The following steps show you how to delete remote sessions:
- Navigate to your Azure Bastion resource and select Sessions from the Azure Bastion page.
- After you select Sessions, you see a list of remote sessions.
- Select a specific remote session, then select the three ellipses on the right-side end of the session row, and then select Delete.
- When you select Delete, the remote session is disconnected and the user is shown a "You have been disconnected" message in the remote session.
Next steps
Read the Bastion FAQ.