This error message usually indicates that there is an issue with the Remote Desktop licensing configuration. Here are a few things you can check to resolve the issue:
- Check that the Remote Desktop licensing mode is set correctly. You can do this by opening the Remote Desktop Licensing Manager on the license server and verifying that the licensing mode is set to "Per User" or "Per Device", depending on your licensing model.
- Verify that the license server is activated and has valid licenses installed. You can do this by opening the Remote Desktop Licensing Manager and checking the status of the license server and the available licenses.
- Check that the Remote Desktop Session Host server is configured to use the correct license server. You can do this by opening the Remote Desktop Session Host Configuration tool and verifying that the license server is set correctly.
- Verify that the Remote Desktop Session Host server can communicate with the license server. You can do this by checking the network connectivity between the two servers and verifying that there are no firewall rules blocking communication.
If none of these steps resolve the issue, you may need to contact Microsoft support for further assistance.
If this does answer your question, please accept it as the answer as a token of appreciation.