local.example.com=example.com;eu.example.com=example.com
We recommend using a single domain in the registry value, and applying a different value to each domain environment, instead of having one value with multiple domains.
Set the registry value described in the following table on managed devices. For the methods, see Apply the Registry Values.
| Property | Value |
| Key | HKLM\Software\Policies\Palo Alto Networks\PrismaAccessBrowser |
| Name | AutofillAdDomainMapping |
| Type | REG_SZ (REG_EXPAND_SZ is also accepted) |
| Value | Pairs of AD domain=Entra email domain, separated by ; |
| Not set | The feature is off. Sign-in behaves as before. |
Rules for the Value
The Prisma Browser accepts the value only if every pair is valid. If any pair is invalid, it ignores the whole value and fills in nothing. It never applies part of a mapping.
- Each domain must be a valid domain name with at least two parts, such as example.com.
- The value holds up to 50 pairs and up to 4,096 characters.
- Domain names are not case-sensitive. A trailing period and spaces around ; and = are ignored.
How the Email Is Built
The Prisma Browser finds the AD domain in this order and uses the first one that is in the mapping:
- The domain in the user name, if the user name is in the form user@domain.
- The AD domain of the account signed in to the device.
The Prisma Browser reads the user name and AD domain from the USERNAME and USERDNSDOMAIN values under HKEY_CURRENT_USER\Volatile Environment.
The email is the user name, an @ sign, and the Entra email domain from the matching pair. The user name must contain only letters, digits, periods, hyphens, and underscores. It must start and end with a letter or digit, have no consecutive periods, and be no longer than 64 characters. The Prisma Browser keeps the case of the user name.
Example: two AD domains. A customer has two AD domains, local.example.com and eu.example.com. Users sign in to Microsoft Entra with @example.com for both.
| Step | Value |
| Admin sets the registry value | local.example.com=example.com;eu.example.com=example.com |
| User signs in to Windows as | jane in eu.example.com |
| Matched pair | eu.example.com=example.com |
| Email filled in at sign-in | jane@example.com |
Example: one AD domain. A customer has a single AD domain, local.example.com. Users sign in to Microsoft Entra with @example.com. The value holds one pair and needs no semicolon.
| Step | Value |
| Admin sets the registry value | local.example.com=example.com |
| User signs in to Windows as | jane in local.example.com |
| Matched pair | local.example.com=example.com |
| Email filled in at sign-in | jane@example.com |
When the Email Is Not Filled In
The Prisma Browser fills in nothing, and the user types the email as before, in these cases:
- The registry value is not set, is not a string, or contains an invalid pair.
- The AD domain is not in the mapping.
- The user name (SAMAccountName) cannot be used in an email address, for example o'brien, jean_, .svc, or müller.
- The device identity cannot be read.
- The lookup does not finish within 11 seconds, for example when the device is off the network.
If the email is built but is not the user's sign-in email, the standard sign-in behavior applies and the password field is displayed.