Hello,
May I ask whether your working environment is a domain or a workgroup? There are differences in the allocation and activation of these CALs in different environments.
In a domain environment, you need to install a Remote Desktop License Server and activate all CALs on the server. Once activated, you can use these licenses on any RD Session Host server in the domain, as these servers periodically communicate with the license server to confirm the availability and validity of the license.
In a workgroup environment, each RDS server acts independently, and there is no automatic way for servers to share information about CALs. This usually means you need to manage CAL allocation manually. If you get an error when trying to activate the license on the second server, it may be because the CALs were already activated and assigned on the first server. You can use the Remote Desktop Licensing Manager tool to check the status of the CALs on the first server. Ensure that the server is only issuing the number of CALs that you intended for it. Besides, automatic license server discovery is no longer supported for RD Session Host servers. You must specify the name of a license server for the RD Session Host server to use by using Remote Desktop Session Host Configuration snap-in.
References: Set up RD licensing across domains forests or workgroups - Windows Server | Microsoft Learn
I hope this helps.
Regards