Thinfinity® Workspace innovates by enabling seamless mapping of users from external identity providers to local or domain users on the host machine, with the feature Create if it doesn’t exist, even when these users are not preexisting in the host environment.
This feature empowers administrators to create local or domain users on the host machine while connecting to external Identity Providers, such as Google, Office 365, Facebook, Azure AD, Okta, and Duo.
The Create if it doesn’t exist function ensures that when a verified user from an external domain logs in, Thinfinity Workspace captures their external ID and automatically generates a corresponding local account on the host machine, complete with pre-established permissions as defined by the administrator.
In this tutorial, we demonstrate the process of mapping external users from various domains to local accounts on the host machine using Thinfinity Workspace secure algorithm:

Creation of users against external domains that use @contoso.com as method of user authentication (works for Azure as well):
Pattern: ([a-zA-Z0-9\.]+)@contoso\.com\$
Replace with: targetdomain\\$1
Creation of users against external domains that authenticate with the domain (Ex. contoso\) as method of user authentication:
Pattern: ((?i)contoso)\\(.+)
Replace with: targetdomain\\$2
You can also configure the authentication credentials when you are creating the RDC connection profile on the Authentication tab by selecting the Use theses credentials option from the drop-down menu as you can see on the section Creating the Profile of the How to create a new RDP connection in Thinfinity Workspace tutorial.