USB scanner is being forwarded to container but after entering a domain and installation RDS role, installing of driver fails.
The issue is caused by the way how Microsoft USB forwarding works.
To fix the problem it is needed to install the role and configure it. Container (server) needs to have RDSH and RD Experience roles to be installed and configured in container to be able to work with USB connections through RemoteFX. Client needs USB forwarding to be enabled in RemoteFX settings: