You can autodiscover Microsoft OneDrive for Business user accounts from a user-defined subclient, using regular expressions or wildcards, or Azure affinity groups.
To autodiscover user accounts, you must enable autodiscovery of user accounts, and then, for the user-defined subclient on which you want to discover the user accounts, enter the regular expressions or wildcards, or the Azure affinity groups that you want to use.
There will be some user accounts that will not match the regular expressions or the Azure Azure affinity groups that you entered. By default, these undiscovered user accounts will not get added to any subclients. To add these user accounts to the default subclient, see Adding Undiscovered User Accounts to the Default Subclient.