Azure Bastion connection link shortcut

Usama Wahab Khan 16 Reputation points MVP
2020-01-06T15:05:05.907+00:00

Is their anyway to pin shortcut to connect azure bastion connection link to dashboard. My client have couple of VMs and they pretty new to azure. They need a link to click and access vm.

Any suggestions including sdk or rest API option where I can create separate app.

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.
262 questions
{count} votes

2 answers

Sort by: Most helpful
  1. msrini-MSFT 9,281 Reputation points Microsoft Employee
    2020-01-07T10:18:41.06+00:00

    @Usama Wahab Khan , You can connect to Bastion only from Portal as of now. You cannot just click a link to access the VM as you need to pass on credentials to RDP/SSH to the VM.

    The only way to RDP/SSH to VM using Azure Bastion would be to navigate to the VM and connect to the VM by passing credentials.

    1 person found this answer helpful.

  2. Max Umarov 6 Reputation points
    2021-01-08T16:31:36.287+00:00

    The link to bastion host page of VM has defined format, something along these lines:

    https://portal.azure.com/#@DIRECTORY/resource/subscriptions/{Subscription-GUID}/resourceGroups/{GROUPNAME}/providers/Microsoft.Compute/virtualMachines/{VMNAME}/bastionHost

    you can copy this link using your browser "copy link address"

    You can use "Custom Markdown" tile in your dashboard and save a link there
    https://video2.skills-academy.com/en-us/azure/azure-portal/azure-portal-markdown-tile

    This should work in most cases, unless you move subscriptions, resource groups or rename VMs.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.