An error occurred while adding the computer account for the Terminal Services license server to the Terminal Server License ...

An error occurred while adding the computer account for the Terminal Services license server to the Terminal Server License Servers group in Active Directory Domain Services (AD DS).  Also, an error occurred while publishing the license server in AD DS. The scope for the license server will be set to Domain instead of to Forest.