Share via

Enable RDP via Intune

Johannes Ebner 246 Reputation points
2020-12-03T18:17:53.133+00:00

Hi,

I have 4 AzureAD joined Clients in a network. I want to enable RDP connection for my Admin Account to the Clients.
Myself will connect via VPN to the Network with the Clients.

How could I achieve this?

Br,
Johannes

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
Microsoft Security | Intune | Other

Answer accepted by question author

Lu Dai-MSFT 28,531 Reputation points
2020-12-04T07:10:04.963+00:00

@Johannes Ebner Thanks for posting in our Q&A. From your description, I know that you want to enable RDP connection for his admin account to AzureAD joined clients via intune. If there is any misunderstanding, feel free to let us know.

To achieve this operation, we need to configure remote settings and get the RDP configure file.
For configuring remote settings in intune, here are the detailed steps for the reference:

  1. Go to Microsoft Endpoint manager admin center. Create a custom profile and deploy this profile to the device group you want.
    Name : Set a name for this profile.
    OMA-URI setting: ./Device/Vendor/MSFT/Policy/Config/RemoteDesktopServices/AllowUsersToConnectRemotely
    Data Type: String
    Value: <enabled />
    44990-image.png
  2. After the profile deploy successfully, we can find the remote setting is changed.
    45077-image.png

To make clients get the RDP configure file, my thought is that we can create the RDP configure file in step2 in the link that RahulJindal improved. Then, put RDP configure file in an accessible location, write a PowerShell script to download this RDP configure file.

Hope it can help.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

2 people found this answer helpful.

8 additional answers

Sort by: Most helpful
  1. Tim 1 Reputation point
    2021-11-15T23:40:06.5+00:00

    Hi all, along with the custom OMA- URI I've found a few other pieces are needed to get this working.

    Also, you may want to add an oma-uri policy for no sleep settings on the target machines if wake on LAN isn't enabled.

    For us, we have also added intune device config profiles- endpoint protection.

    Allow specific IPs or any as needed, add ports needed, ie 3389. I have also found the remote ports must be using more than 3389 as when tied to this the policy failed. Ill update once i have more info on that.

    This should be enough to get connections on the same subnet, if you need remote access youll need to configure a firewall policy to allow this too- ironically the easiest part.

    Was this answer helpful?

    0 comments No comments

  2. Carneol, Steve 1 Reputation point
    2021-04-27T13:58:09.177+00:00

    Where is the setting to Allow all Primary users of the work computer to remotely connect that was available via Remote Connection Profile in ConfigMgr which doesn't apply once you move to Co-management with the Device Configuration Workload set to Pilot Intune or Intune. Sliding the Device Configuration Workload to the left (Configuration Manager) is not an option since there are other settings like the OneDrive for Business Profiles that also fall under the Device Configuration Workload that has to apply to our Co-managed clients.

    Was this answer helpful?


  3. Johannes Ebner 246 Reputation points
    2020-12-08T08:54:45.84+00:00

    I added a firewall rule for RDP. Now it is working.

    Was this answer helpful?


  4. Johannes Ebner 246 Reputation points
    2020-12-08T07:56:43.343+00:00

    I am playing now with firewall rules, maybe this is the reason why it is still not working

    Was this answer helpful?


Your answer

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