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 trimmedDivision
value.
References
If the information helped address your question, please Accept the answer.
Luis