Windows Server 2019, Russian version, clean installation, licensed, activated, in the workgroup.
Installed the role of Remote Desktop Services, Remote Desktop Licensing Service and Remote Desktop Session Host.
RDS license server is activated, a license for 5 users is installed.
In group policies, the license server is specified and the "per user" mode is selected. The licensing diagnostic tool does not find any problems, but it shows that the session host server and the licensing server are version 2016.
With a terminal connection to the server, the following message is displayed:
"There is a problem with your Remote Desktop license, and your session will be disconnected in 60 minutes, Contact your system administrator to to fix this problem"
There are no error records in the logs, the license manager shows that no licenses have been issued and 5 licenses are available.
Which way to dig? Where to look for the cause of the error?