The preferredLanguage attribute records the written or spoken language a person prefers. It comes from the inetOrgPerson LDAP object class defined in RFC 2798, and Active Directory adopted it with the Windows Server 2003 schema. The value is a single language tag such as en-US, and applications such asExchange and Microsoft 365 read it to present content in the preferred language for each user.
This guide covers the attribute end to end: what it stores and where it came from, its exact schema definition, and three ways to work with it. It explains setting and clearing the value in Active Directory Users and Computers (ADUC), reading and bulk-updating it with PowerShell, and configuring, reporting on, and delegating it in ManageEngine ADManager Plus.
| LDAP display name | preferredLanguage |
| CN | preferredLanguage |
| Syntax | String(Unicode), 2.5.5.12 |
| OM-Syntax | 64 |
| Attribute ID (OID) | 2.16.840.1.113730.3.1.39 |
| System ID GUID | 856be0d0-18e7-46e1-8f5f-7ee4d9020e0d |
| Single- or multi-valued | Single-valued |
| Indexed | No |
| In Global Catalog | No |
| Replicated | Yes (normal domain replication; not to the Global Catalog) |
| Visible in default ADUC UI | No (Advanced Features and the Attribute Editor are required) |
| Applies to | user, inetOrgPerson |
| Source schema | Windows Server 2003 (from RFC 2798 inetOrgPerson) |
| Microsoft reference | Win32 ADSchema | MS-ADLS |
Note: The attribute is single-valued, but per RFC 2798 the value follows the Accept-Language format, so a single string can express a prioritized list of languages with quality values, for example en-US, fr;q=0.7. Active Directory stores the string as-is and does not validate the tag, so a malformed value is accepted by the directory and simply ignored by the applications that read it.
Originating in the inetOrgPerson class, preferredLanguage was designed to let LDAP-aware applications localize their output per user. The value is an IETF language tag (RFC 1766 and its successors, now BCP 47) such as en-US for English (United States) or fr-FR for French (France).
Common real-world uses include:
Use preferredLanguage when you need a standards-based language preference that existing Microsoft and third-party tools already understand. Extend the schema with a custom attribute only if you need to store something the standard tag cannot express, such as an internal language code that does not follow BCP 47.
The attribute is not shown on the standard property tabs, so use the Attribute Editor. Because the value is a plain string, you can type it directly.
The Active Directory module cmdlets Get-ADUser and Set-ADUser handle this attribute. There is no dedicated parameter, so use -Replace, -Clear, and -Properties with the LDAP name.
Get-ADUser -Identity jdoe -Properties preferredLanguage |
Select-Object Name, preferredLanguage
Displays the current language tag stored on the user jdoe.
Set-ADUser -Identity jdoe -Replace @{ preferredLanguage = "en-US" }
Sets or overwrites the language tag for jdoe to en-US.
Set-ADUser -Identity jdoe -Clear preferredLanguage
Removes the stored language tag from the user jdoe.
Import-Csv -Path "C:\Data\PreferredLanguage.csv" | ForEach-Object {
Set-ADUser -Identity $_.SamAccountName -Replace @{ preferredLanguage = $_.PreferredLanguage }
}
Reads a CSV with SamAccountName and PreferredLanguage columns and applies the tag to each listed user.
Get-ADUser -Filter * -Properties preferredLanguage |
Select-Object SamAccountName, Name, preferredLanguage |
Export-Csv -Path "C:\Reports\PreferredLanguage.csv" -NoTypeInformation
Exports the language tag for every user to a CSV for review or auditing.
ADManager Plus does not surface preferredLanguage on its standard user property screens, so configure it as a custom LDAP attribute first. After that you can set it during creation, update it in bulk, report on it, and delegate it from one console.
Using a CSV file, ADManager Plus enables you to update attributes for multiple users at scale. Supply a CSV keyed on sAMAccountName and map the configured attribute in the template.
Build a report that includes the Preferred Language attribute to list the language tag for every user. Schedule it and export in CSV, PDF, HTML, or XLSX to audit language coverage across the organization.
To allow security team members or non-admin users to view and update attributes without broader AD write access, use help desk delegation:
This attribute uses standard default ACLs (schema default security descriptor O:BAG:BAD:S:). It is not flagged confidential, so authenticated users can read it like other general user properties, and write access follows the normal Active Directory delegation model. There are no unusual read restrictions to plan around.
To control who can change the value:
Because the value can affect the language a user sees in Exchange, Microsoft 365, and internal apps, treat mass changes with the same care as any user-facing setting: stage them, validate the tags, and communicate the change.
Language does not change after setting preferredLanguage
The attribute only expresses a preference; each consuming application decides whether and when to honor it. Confirm the tag is valid (for example en-US, not en_US), that the value replicated, and that the application in question actually reads the attribute.
preferredLanguage does not appear in ADUC
It is not shown on the standard tabs. Enable View > Advanced Features and open the Attribute Editor tab to see and edit it.
Incorrect preferredLanguage value format
Use a BCP 47 language tag: a two-letter language code, optionally followed by a region, such as en, en-US, or fr-FR. RFC 2798 also allows a prioritized list in Accept-Language form.
preferredLanguage synchronization with Microsoft Entra ID
preferredLanguage is part of the default attribute set that Microsoft Entra Connect synchronizes, so the on-premises value flows to the corresponding cloud user unless you have customized the sync rules.
Using multiple language preferences
The attribute is single-valued, but the string may carry a ranked list per the Accept-Language format, for example en-US, es;q=0.8. Whether an application honors the ranking depends on the application.
ADManager Plus lets you set, bulk-update, report on, and delegate the preferredLanguage attribute without writing scripts, so keeping user language preferences accurate across Active Directory becomes a point-and-click task your help desk can own.
It uses the String(Unicode) syntax (2.5.5.12, OM-Syntax 64) and is single-valued.
The user and inetOrgPerson classes.
No. It replicates within the domain but is not in the Global Catalog, and it is not indexed.
It was introduced with the Windows Server 2003 schema, based on the RFC 2798 inetOrgPerson definition, and is present in later versions.
The OID 2.16.840.1.113730.3.1.39 is from the inetOrgPerson schema, not the Microsoft 1.2.840.113556 arc, reflecting its LDAP-standard origin.