Windows 2019 RDS Server for PSM
Objective
Windows 2019 RDS Server for PSM with "Per User" CALs. After activating RD Licensing Server, users start to experience the error:
Error with PSM: "Remote Desktop Licensing Issue" There is a problem with your Remote Desktop License, and your session will be disconnected in 60 minutes. Contact your system administrator to fix this problem.
Environment
11.5;12.2;12.6;13.0;13.2;14.0;14.2;14.4
Procedure
Windows 2019 changed the way sessions are managed if there's a problem provisioning the RDS license and generates this error if it cannot provision the license. RDS cannot provision a RDS CAL to a local or Workgroup user. For this to work correctly, PSM must be moved to use a domain account for the PSM Connect and PSM Admin Connect users per this document:
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm
After moving to a domain account, this error goes away. You can also look at the RDS CAL licensing report and see that a license has been issued to the PSM Connect user.
Additionally, you can change your RDS licensing model to per-device and this should work as well.