Dirsync: Examples of modifying the target user's User Principal Name Attribute Mapping
说明
Examples of modifying the target user's User Principal Name Attribute Mapping
解决办法
Open the ODM-AD Dirsync Template Mappings configuration and go to Mappings tab. Find the User Principal Name attribute.
Here are examples of a few formulas to customize the target user User Principal Name. By using the sn attribute you run the risk of the value containing a space since some names contact a space. We recommend adding a trim statement. example: s.givenName+"."+trim(s.sn)+"@"P.TargetDomain or trunc(s.givenName+"."+trim(s.sn), 20)+"@"P.TargetDomain or trunc(s.givenName+"."+trim(s.sn), 20)+"@yourdomain.com"
Important: Test, test, test with multiple names to ensure the target UPN meets the target requirements. Place your workflow in Test Mode, run the workflow then check the Change log to see the UserPrincipal name meets your requirements. Once this is correct, remove Test Mode and run the workflow again.
Note: Any issues caused by a custom mapping are not supported and Quest will request the attribute mapping be returned to it's default setting, or require a Quest profession consulting resource be brought in to correct the attribute mappings (this is a fee based service).