This is one of the very last TFS Integration Platform “documentation” posts, because the latest product contains detailed documentation and the next major release will include consolidated documentation containing product documentation, guidance and the readiness package. In future we will drill down on new or special features, in favour of documenting the product overall as in the past.
EnableValidation … replacing the confusing UserIdLookupEnabled attribute
Looking at the first line in the configuration extract below we notice the UserIdLookupEnabled and EnableValidation attributes. The former is deprecated, no longer supported and replaced with EnableValidation. The schema change is intended to give the attribute a more meaningful name.
But … what does EnableValidation entail?
The intention of this attribute is to configure whether the user identity lookup service, as part of the mapping, should reach out to actual active directory server to validate that the user account is a valid account on the target system. When enabled (true) the service will search for the user in the target system to determine that the user account is valid and to raise an exception if the validation fails. When disabled (false), the User Identity Lookup Service only performs a static transformation specified in the UserIdentityMappings section.
The default value for the EnableValidation attribute is true.
Questions relating to this configuration section
- What is the difference between the <UserMappings>, <AliasMapping> and <DomainMappings> in the configuration?
- UserMapping works on specific user(s), whereas AliasMapping and DomainMapping applies to all user accounts and maps alias and domain separately on all identities passing through the pipeline.
- UserMappings and AliasMapping are similar in behaviour, whereby the evaluation precedence is User Mapping, then DisplayName or DomainAlias.
- What is the difference between DisplayName and DomainAlias?
- The DefaultUserIdProperty DisplayName is specific to TFS WIT migration sources, whereas DomainAlias is to TFS VC migration sources.