Matching Accounts to Identities
Decide which person owns each account read from an application, and which accounts belong to which groups. Identity matching gives accounts an owner; group membership links accounts to the entitlements they hold. Both are applied when the application syncs.
The account and group attributes are listed under Attributes. See Mapping Attributes.
Applications – View in an administrator group.
Provisioning applications.
Adding identity matching rules
Each rule compares an identity attribute with a value from the account. Rules run in order and the first match decides the owner. An active account that no rule matches has no owner.
To add an identity matching rule:
- Open the application and select Identity matching under Map.
- Select Add rule.
- After Match when, choose the identity attribute, for example Username or Email.
- After equals, choose where the account value comes from:
- Account – one account attribute, for example
sAMAccountName. - Expression – a template built from account attributes, for example
${givenName}.${sn}. - Transform – a JSON transform of account attributes.
- Account – one account attribute, for example
- Choose the account attribute, or write the expression or transform.
- Use the up and down arrows to put the most reliable rule first.
- Select Save rules in the bar at the bottom, or Discard.
- Run an account sync so the rules are applied. See Syncing accounts.
The Accounts tile shows how many accounts have been read, and No owner how many active accounts no rule matched. Select No owner to see them. To remove a rule, select its bin icon and save.
| Rule 1 | Match when Username equals Account sAMAccountName |
| Rule 2 | Match when Email equals Account mail |
Setting up group membership
A group membership rule reads the relationship from one side: a group that lists its members, or an account that lists its groups. It then matches each listed value to an account or a group.
To add a group membership rule:
- Open the application and select Group membership under Map.
- Select Add rule.
- Choose which side lists the relationship: From groups to accounts or From accounts to groups.
- Optionally enter an Entitlement Type, such as
Security Group, so the rule applies to one kind of group only. Leave it blank for all. - Fill in the references:
- For From groups to accounts – enter the Group Attribute that lists members, choose what Member References Point To (Accounts only, Entitlements only or Accounts or Entitlements), and set Match Account By and, if needed, Match Entitlement By.
- For From accounts to groups – enter the Account Attribute that lists groups and set Match Entitlement By.
- If groups contain other groups, tick Resolve nested groups and set a Max depth.
- Read the sentence at the top of the rule to check it says what you mean.
- Select Save Mappings in the bar at the bottom.
- Sync groups. See Syncing groups.
Leave Match Account By or Match Entitlement By blank to use the account's or group's ID in the application. Choose Entitlements only to link groups to other groups, such as roles to the policies attached to them. Membership is worked out again after every account sync and group sync.
| Rule 1 | Each group lists its members in member. Match each one to an account by distinguishedName. |
| Rule 2 | Each account lists its groups in memberOf. Match each one to a group by distinguishedName. |
Troubleshooting
- Many accounts have no owner. Check that the identity attribute in your first rule is filled in for most people, and add a second rule on another attribute, such as Email.
- Groups have no members after a group sync. Add a group membership rule and sync groups again.
- Many members are unresolved. The rule's Match Account By or Match Entitlement By attribute probably doesn't hold the value the group lists.
