Hi, I need help with configuring a connection using the "Remote Desktop" (https://learn.microsoft.com/de-de/azure/virtual-desktop/virtual-desktop-fall-2019/connect-windows-2019#install-the-windows-desktop-client) to connect to a Azure Virtual Desktop.
Thanks and Regards,
Torsten
Hello,
Thank you for reaching out to us regarding this,
I have a few questions which you can hopefully answer.
Which version of RDM are you using?
Which type of data source are you using?
That being said, I would like to confirm how you are connecting to this remote host outside RDM?
Let me know,
Best regards,
Samuel Dery
Hi Samuel,
I am using latest version of RDM 2022.3.35.0 64-bit. I am using an RDP (Microsoft Remote Desktop) with RDP Version = MSRDC in the advanced settings. I read this somewhere. My problem is, that I don't know what to set for the "Host". With the Microsoft-Remotedesktop App I am simply entering my Azure AD User and Passwort, nothing more is needed here.
Regards,
Torsten
here is a tutorial to access VM: https://www.anyviewer.com/how-to/remote-access-virtual-machine-0427.html
This does not solve my question. I am not looking for an RDP connection, I want to connect to an Azure Virtual Desktop from within RDM.
Hello,
Thank you for your reply,
I see, I'm wondering if the following is of help to you in this case:
https://blog.devolutions.net/2022/03/msrdc-is-now-supported-in-remote-desktop-manager/
From my understanding, the Host field would normally be the workstation IP have you already attempted this?
Let me know,
Best regards,
Samuel Dery
Hi Samuel,
I found exactly that link. The problem is, that I do not have an IP nor a FQDN, using Microsoft Remote Desktop I am just using my Azure AD Login, nothing more.
Regards,
Torsten
Hello,
Do you have any way of exporting the session ?
If you do, what's the file format when it is exported ?
Best Regards,
Hello, no, the remote desktop does not offer any way of exporting the session. The only information I have inside the remote desktop is the name of the workspace and its URL and of course my username.
Regards,
Torsten
Hello,
I've spoken to our engineers, and they were wondering if you could attempt to import your .rdp files from your %LocalAppData%/rdclientwpf ?
According to them, this is where the AVD webfeed's local cache is stored.
Let me know if this works !
Best Regards,
Hi Samuel, congrats, that trick did the job. The only thing I have to check, is what happens tomorrow, once I have to submit my 2FA.
Regards,
Torsten
Hello,
My pleasure !
If you have further issues when submitting your 2FA, let us know !
Best Regards,
Hi i found the RDP file and imported it but the usrename and password are not being processed correctly. Any ideas?
Hello,
I've spoken to our engineers, and they were wondering if you could attempt to import your .rdp files from your %LocalAppData%/rdclientwpf ?
According to them, this is where the AVD webfeed's local cache is stored.
Let me know if this works !
Best Regards,
Hi,
Can you elaborate on how you got this to work? I imported the RDP settings and changed the RDP type to MSRDC but my username and password is not working when they do work in the RDP client.
Thanks
Hi Samuel, congrats, that trick did the job. The only thing I have to check, is what happens tomorrow, once I have to submit my 2FA.
Regards,
Torsten
Hello Jeremy,
Thank you for reaching out to us regarding this,
Could you confirm your version of RDM and your date source type?
I'm also wondering if you could provide us with a screenshot of the error you're receiving.
Let me know,
Best regards,
Samuel Dery
2023.1.20.0 64-bit and the data source is local
Hello Jeremy,
Thank you for reaching out to us regarding this,
Could you confirm your version of RDM and your date source type?
I'm also wondering if you could provide us with a screenshot of the error you're receiving.
Let me know,
Best regards,
Hello Jeremy,
Thank you for your reply,
I see, could you confirm the error you're receiving when attempting the connection?
Perhaps provide us with a screenshot,
Let me know.
Best regards,
Samuel Dery
I know it's been a couple months since the last entry but I to was trying to do the same thing here. I read the thread and followed the instructions. I imported in my RDP sessions from my AVD, change the RDP Version to MSRDC but when I try and log in it's just a cyclical error about the login attempt failing. If I go right to the actual MS RDP application I can log right in.
Just looking for a solution if there is one.

Hello,
Thank you for reaching out to us regarding this,
I have a few questions which you can hopefully answer.
1- Which version of RDM are you using?
2- Which type of data source are you using?
I would also like to confirm if this was working for you previously?
Let me know,
Best regards,
Samuel Dery
I am using version 2023.2.5.1 for MacOS. And I'm using just a local data source. No, this is something new I was trying to get to work. I have an AVD that I use for work. I created a new RDP session then imported in the working config from the Microsoft Remote Desktop. From what I read through this thread that seemed to be the correct way to do it.
All prior attempts failed, but once I configured it this way I can actually make the connection, but as I mention the login is just in a failure loop.
Hi,
Azure Virtual Desktop is supported in RDM through MSRDC if you import the .RDP file from the AVD webfeed, but it only works with the *external* mode, not with the embedded mode. There's no way for a third-party to take control of the AVD connection process correctly with the RDP ActiveX, the best we could do was make the MSRDC external process work through API hooking. Microsoft doesn't offer third-party integration for their first-party AVD client, unfortunately.
Best regards,
Marc-André Moreau
I completely understand and I had all those settings, except for the "external" mode set. Once I changed that it is now working thank you. I understand the hook, it's just nice being able to launch the session from within RDM instead of having to explicitly start MS Remote Desktop and launch the connection. Thanks again.
Hello,
Thank you for your reply,
Perfect, I'm glad to hear that it is now working!
If you have further questions feel free to let me know,
Best regards,
Samuel Dery