Hi Experts,
Need some help understanding and handling two different provisioning race condition scenarios related to Birthright role-based account creation.
Scenario 1 – Same Name Users Created in Different AD Domains
-
We have two AD sources in two different domains.
-
When two users with the same name are onboarded simultaneously, each gets an account in a different AD domain through Birthright role assignment.
-
The unique email generator rule does not seem to detect uniqueness across both domains during provisioning.
-
As a result, the same email/UPN value gets generated for both users in different AD domains.
Question:
-
Has anyone handled global uniqueness for email/UPN across multiple AD domains?
-
Is there a recommended approach to avoid this race condition during concurrent onboarding?
Scenario 2 – Same Name Users Created in the Same AD Domain
-
When two users with the same name are onboarded simultaneously into the same AD domain through Birthright role assignment, I see the following error:
“Account created but some attributes not populated correctly” along with “constraint violation occurred”. -
In this AD, CN is mapped to Employee Number and is unique, so the account itself gets created successfully.
-
I suspect the failure occurs because both provisioning operations attempts to set the same generated email/UPN value at the same time.
Question:
-
Is it possible to configure this as a retryable error so that the Email Attribute Generator Rule in the Create Account Provisioning Policy is triggered again to generate a new unique value?
-
Has anyone implemented retries or another mechanism to handle simultaneous same-name onboarding into the same AD source?

