Discovering User Accounts Automatically Using Regular Expressions

You can configure regular expressions to discover user accounts automatically based on unique patterns of UPN, and then list the SMTP email addresses in the CommCell Console. The user accounts that match the regular expressions that you define are discovered every 24 hours, by default.

The following table provides some examples of useful regular expressions:

Example

Description

user*

Auto-discovers any user account with SMTP email address that begins with user followed by any number of any characters (for example, userabc@* , user123@*, and so on).

[JT]im

Auto-discovers any user account with SMTP email address that begins with J or T and ends with im (for example, Jim, Tim).

[a-k]Lee

Auto-discovers any user account with SMTP email address that begins with any character in the range of a through k inclusive and that ends with Lee (for example, aLee, bLee, and so on)

[A-K]*

You can also use a combination of wildcards in a single expression, if the wildcards are supported for the type of operation you are performing. For example, you can auto-discover all user accounts with SMTP email address that begin with any characters in the range of A through K inclusive followed by any number of any characters.

Before You Begin

Configure auto discovery of user accounts at the instance level.

Procedure

  1. In the CommCell Browser, click Client Computers > client > Cloud Apps > instance.

  2. Right-click a user-defined subclient, and then click Properties.

  3. In the Subclient Properties dialog box, click the Auto-discovery tab.

  4. In the Add a user name that matches the regular expressions box, type a regular expression or wildcard pattern to specify that newly discovered user account display names matching that pattern during auto-discovery will be assigned to this subclient.

  5. Click Add.

  6. Add as many regular expressions as you require.

    Note

    OneDrive for Business regular expressions are case sensitive.

  7. Click OK.

Page contents

×

Loading...