How to Map the value of one attribute to other attribute in Active directory with the help of AD connect

Prince Chauhan 20 Reputation points
2024-11-12T12:53:42.6533333+00:00

Hi All,

we have 2 attribute on active directory.

  1. Division = Employee1/technician (/Worker, /contingent worker etc)
  2. Extensionattribute10 = No value

We want to trim the Division value like remove the characters after the slash "/" this we achieved by the below expression.

"IIF(InStr([division], "/") > 0, Left([division], InStr([division], "/") - 1), [division])"

but now we are looking to map this trimmed Division value with Extensionattribute10 attribute with the help of AAD connect.

we tried to map the Values but the values are not refecting under Extensionattribute10 attribute

can anyone help us where are missing in this.

User's image

User's image

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,732 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,497 questions
0 comments No comments
{count} votes

Accepted answer
  1. Luis Arias 7,686 Reputation points
    2024-11-12T14:18:04.93+00:00

    Hello Prince,

    To map a trimmed Division attribute value to extensionAttribute10 in Active Directory with Azure AD Connect:

    • Ensure Expression: Use this transformation to trim Division:
          IIF(InStr([division], "/") > 0, Left([division], InStr([division], "/") - 1), [division])
      
    • Set Up Attribute Mapping in Azure AD Connect:
      • Open Azure AD Connect > Customize synchronization options > Attribute Mapping.
      • Select extensionAttribute10, set FlowType to Expression.
      • In Source, paste the transformation expression above.
      • Set Merge Type to Update.
    • Run Full Sync:
      • In Azure AD Connect Synchronization Service Manager, perform Full Import and Full Synchronization on both Active Directory and Azure AD connectors.
    • Verify Results: Check in AD to confirm extensionAttribute10 is updated with the trimmed Division value.

    References

    If the information helped address your question, please Accept the answer.

    Luis


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.