How does Azure Bastion monitor the clipboard?

jimk889 1 Reputation point

Bastion sessions have this fantastic feature of keeping the clipboard synced between the remote machine and the accessing machine.

Based on the initial request to access the clipboard by the browser we receive when we open a Bastion session, I can tell that it uses the clipboard API,

But how does it achieve monitoring of the clipboard? Does it query the clipboard every x seconds to see if the contents have changed? It seems too fast for that to be the case here.

Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
247 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. SaiKishor-MSFT 17,221 Reputation points

    @jimk889 Unfortunately this is internal information and cannot be shared. Please let us know if you have any other questions and we will be glad to answer. Thank you!

  2. SaiKishor-MSFT 17,221 Reputation points


    We are doing it via browser's 'cut' and 'copy' events. This is done via

    Hope this helps. Let us know if you have anymore questions. Thank you!


    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    Want a reminder to come back and check responses? Here is how to subscribe to a notification.

    0 comments No comments