Azure Bastion on MacOs
Hi! I just stumbled upon this post because I'm running into the same issue when trying to setup Bastion. Using version RDM 2025.2.6.8 on MacOS
Any update on this issue?
@wmbreedveld
Hi,
I did just provision a Bastion and then go through the setup on the same RDM version as you, and found it to work well. What exactly is the part that's causing issues? Is it the setup, or something is not working when you try to connect to a VM?
Kind regards,
@Richard Markiewicz
I configured a Bastion tunnel but it immidialaty errors to "An unexpected error occurred." same as the screenshot by @kknopp. No matter the authentication settings. Sometimes I got a browser window with the text that I have been authenticated, but I still get the error, this is also not consistently reproducible.
I have the connection to the VM working with Azure CLI in combination with the Windows App for RDP. I use the following command in a shell script to start the vm and open a connection:
#!/bin/zsh
az vm start --resource-group "<resource-group>" --vm-name "<vm-name>"
az network bastion tunnel --name "<bastion-name>" --resource-group "<resource-group>" --target-resource-id "/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Compute/virtualMachines/<vm-name>" --resource-port "3389" --port "13401"
I have removed sensitive info for the values between <>
I then connect to 127.0.0.1:13401
Got it working, user error on my side...
I had mistakenly entered the VM name in the "Host" field for Bastion, but it should have been the Bastion name instead.
(Might be worth updating the field label to make this a bit clearer.)
Azure Bastion on MacOs
Hi! I just stumbled upon this post because I'm running into the same issue when trying to setup Bastion. Using version RDM 2025.2.6.8 on MacOS
Any update on this issue?
@wmbreedveld
Hi,
I did just provision a Bastion and then go through the setup on the same RDM version as you, and found it to work well. What exactly is the part that's causing issues? Is it the setup, or something is not working when you try to connect to a VM?
Kind regards,
@Richard Markiewicz
I configured a Bastion tunnel but it immidialaty errors to "An unexpected error occurred." same as the screenshot by @kknopp. No matter the authentication settings. Sometimes I got a browser window with the text that I have been authenticated, but I still get the error, this is also not consistently reproducible.
I have the connection to the VM working with Azure CLI in combination with the Windows App for RDP. I use the following command in a shell script to start the vm and open a connection:
#!/bin/zsh
az vm start --resource-group "<resource-group>" --vm-name "<vm-name>"
az network bastion tunnel --name "<bastion-name>" --resource-group "<resource-group>" --target-resource-id "/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Compute/virtualMachines/<vm-name>" --resource-port "3389" --port "13401"
I have removed sensitive info for the values between <>
I then connect to 127.0.0.1:13401
Azure Bastion on MacOs
Hi! I just stumbled upon this post because I'm running into the same issue when trying to setup Bastion. Using version RDM 2025.2.6.8 on MacOS
Any update on this issue?