Created
January 21, 2022 06:00
-
-
Save mfcollins3/7d02fe72c0a6c51aafb63ff7bf85c101 to your computer and use it in GitHub Desktop.
CreateLocalUser technical profile for B2C
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ClaimsProvider> | |
<DisplayName>Active Directory</DisplayName> | |
<TechnicalProfiles> | |
<TechnicalProfile Id="CreateLocalUser"> | |
<DisplayName>Create Local User Account</DisplayName> | |
<Description>Creates the local user account in Active Directory</Description> | |
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.AzureActiveDirectoryProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /> | |
<Metadata> | |
<Item Key="Operation">Write</Item> | |
<Item Key="RaiseErrorIfClaimsPrincipalAlreadyExists">true</Item> | |
</Metadata> | |
<IncludeInSso>false</IncludeInSso> | |
<InputClaimsTransformations> | |
<InputClaimsTransformation ReferenceId="SetDisplayNameToSignInName" /> | |
</InputClaimsTransformations> | |
<InputClaims> | |
<InputClaim ClaimTypeReferenceId="signInName" PartnerClaimType="signInNames.userName" Required="true" /> | |
</InputClaims> | |
<PersistedClaims> | |
<PersistedClaim ClaimTypeReferenceId="displayName" /> | |
<PersistedClaim ClaimTypeReferenceId="newPassword" PartnerClaimType="password" /> | |
<PersistedClaim ClaimTypeReferenceId="passwordPolicies" DefaultValue="DisablePasswordExpiration" /> | |
<PersistedClaim ClaimTypeReferenceId="signInName" PartnerClaimType="signInNames.userName" /> | |
</PersistedClaims> | |
<OutputClaims> | |
<OutputClaim ClaimTypeReferenceId="objectId" /> | |
<OutputClaim ClaimTypeReferenceId="userPrincipalName" /> | |
</OutputClaims> | |
<UseTechnicalProfileForSessionManagement ReferenceId="SSO-None" /> | |
</TechnicalProfile> | |
</TechnicalProfiles> | |
</ClaimsProvider> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment