Automatic assignment of principal user for imported devices
Overview
The Generic Inventory data provider can set a principal user for imported devices if the user is found in the ESM system.
All other extensions that depend on the Generic Inventory extension (when Generic Inventory is installed as a prerequisite) can make use of this feature.
Prerequisites for the automatic principal user assignment
The matching is done by the UserPrincipalName attribute in the SPSAccountClassAD data definition that is used by the account object. This attribute is set when the Azure Active Directory data provider imports Azure accounts.
The following priority of matching is used:
- If the imported user principal name matches the UserPrincipalName attribute in the SPSAccountClassAD data definition of an account and this is a primary account for a person, this person is set as a principal user.
- If the imported user principal name matches the UserPrincipalName attribute in the SPSAccountClassAD data definition of an account and this account is assigned to a person, this person is set as a principal user.
The principal user is updated with each run of the import under the following conditions:
- Automatic assignment of principal user is enabled in Settings of the Assets application;
- The status of an imported device belongs to the list of statuses configured in the Asset status relevant for automatic assignment of principal user setting;
- Automatic assignment of principal user is also handled for each individual device by using the Manage Principal User action and therefore must not be disabled by this action.