This article addresses an issue where users assigned to an application via a new group have a blank or null username. This occurs after the application's username format was changed (for example, from user.employeeNumber to active_directory.objectSid) and existing user profiles were updated using the Update Now function.
- Universal Directory
- Active Directory
- Application Username
- Lifecycle Management
This behavior occurs because the trigger to update the application username is not configured to run when new assignments are created. While running Update Now updates the usernames for currently assigned users, it does not affect users who are assigned to the application later through group membership.
- In the Admin Console, navigate to the application's Sign On tab.
- In the Credentials Details section, click Edit.
- For the Application username format setting, select Update application username on: Create and update.
- Click Save.
- In Directory > Profile Editor > Active Directory > Mappings > Active Directory to Okta, map the required Active Directory attribute (for example, objectSid) to a custom Okta User Profile attribute.
- Navigate to the application's Sign On tab and click Edit in the Credentials Details section.
- Set the Application username format to Custom.
- Enter an expression to use the custom Okta attribute that now contains the desired value from Active Directory.
- Click Save.
