How to Replicate Active Directory EmployerID to Entra ID ExtensionAttribute15
Question details
An organization needs to synchronize their on-premises Active Directory EmployerID value to the cloud-based ExtensionAttribute15 in Microsoft Entra ID to populate Microsoft 365 profile cards.
- Product
- Active Directory, Microsoft Entra ID
- Device & OS
- not provided
- Scenario
- Synchronizing local custom AD attributes to cloud extension attributes for Microsoft 365 profile and attribute mapping integration.
- Observed behavior
- The administrator requires the correct mapping procedures and configuration steps to successfully replicate the EmployerID value into ExtensionAttribute15.
Ensure you have Global Administrator permissions in Microsoft Entra ID and Enterprise Administrator rights in your local Active Directory before modifying any synchronization rules.
Configure Inbound Synchronization Rules in Microsoft Entra Connect
Use the Microsoft Entra Connect Sync Rules Editor to map the local EmployerID attribute to the cloud ExtensionAttribute15.
Synchronizing specific local Active Directory attributes to Microsoft Entra ID (formerly Azure AD) requires modifying your directory sync rules. By configuring an inbound transformation rule, you ensure that Microsoft 365 profile cards can successfully pull the mapped data from your local domain.
Log in to your Microsoft Entra Connect server, open the Start menu, and launch the 'Synchronization Rules Editor'.
Set the Direction dropdown to 'Inbound' and click the 'Add new rule' button on the right-hand side.
Provide a descriptive Name (e.g., 'In from AD - EmployerID to ExtensionAttribute15'). Select your local Active Directory as the Connected System, 'user' as the Connected System Object Type, and 'person' as the Metaverse Object Type.
Navigate to the Transformations tab and click 'Add transformation'. Set the FlowType to 'Direct', select 'extensionAttribute15' as the Target Attribute, choose 'employerId' as the Source, and set the Merge Type to 'Update'.
Save the new rule. Open PowerShell as an Administrator and execute the command 'Start-ADSyncSyncCycle -PolicyType Initial' to push the new attribute mappings to Microsoft Entra ID.
Manage Your Organizational Data with WPS Office
While complex Active Directory setups require dedicated Microsoft identity tools, managing your exported user lists, mapping schemas, and organizational documentation is easier with a lightweight, fully compatible office suite. WPS Office provides an excellent, free alternative to Microsoft Office for your daily IT administration and spreadsheet needs.
- 1. Download and Install WPS Office: Visit the official WPS Office website to download the free suite for your operating system.
- 2. Open AD Exports in WPS Spreadsheet: Launch WPS Spreadsheet to seamlessly open and analyze your Active Directory user export CSV files.
- 3. Analyze Attribute Mappings: Use built-in filtering, conditional formatting, and data validation tools to review your EmployerID and ExtensionAttribute15 mappings before running synchronization commands.

Frequently Asked Questions
Can I map one local Active Directory attribute to multiple Microsoft Entra ID attributes?
Yes, you can create multiple synchronization rules in the Microsoft Entra Connect Sync Rules Editor to flow a single local Active Directory attribute (such as EmployerID) into several different metaverse or cloud extension attributes simultaneously.
Why is my ExtensionAttribute15 not updating in Microsoft 365 profile cards?
Changes to directory synchronization rules require a full sync cycle to take effect. If the data hasn't updated, ensure you have run the 'Start-ADSyncSyncCycle -PolicyType Initial' PowerShell command and check the Microsoft 365 admin center or Azure Portal for any directory sync errors.
Do I need Microsoft Entra Connect to sync EmployerID?
Yes. To map and synchronize custom or specific on-premises Active Directory attributes to Microsoft Entra ID, you typically need Microsoft Entra Connect or Microsoft Entra Cloud Sync configured with custom inbound transformation rules.




