Skip to content

Instantly share code, notes, and snippets.

@bgreen77
Created July 14, 2020 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bgreen77/1ad5cc424ecb879f2a10bd2cd549a842 to your computer and use it in GitHub Desktop.
Save bgreen77/1ad5cc424ecb879f2a10bd2cd549a842 to your computer and use it in GitHub Desktop.
SignUp or SignIn Multi
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TrustFrameworkPolicy
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.microsoft.com/online/cpim/schemas/2013/06"
PolicySchemaVersion="0.3.0.0"
TenantId="TENANT.onmicrosoft.com"
PolicyId="B2C_1A_signup_signin_multi_dev"
DeploymentMode="Development"
UserJourneyRecorderEndpoint="urn:journeyrecorder:applicationinsights"
PublicPolicyUri="http://TENANT.onmicrosoft.com/B2C_1A_signup_signin_multi_dev">
<BasePolicy>
<TenantId>TENANT.onmicrosoft.com</TenantId>
<PolicyId>B2C_1A_TrustFrameworkExtensions</PolicyId>
</BasePolicy>
<RelyingParty>
<DefaultUserJourney ReferenceId="SignUpOrSignInMulti" />
<UserJourneyBehaviors>
<JourneyInsights TelemetryEngine="ApplicationInsights" InstrumentationKey="the_i_key" DeveloperMode="true" ClientEnabled="false" ServerEnabled="true" TelemetryVersion="1.0.0" />
</UserJourneyBehaviors>
<TechnicalProfile Id="PolicyProfile">
<DisplayName>PolicyProfile</DisplayName>
<Protocol Name="OpenIdConnect" />
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="displayName" />
<OutputClaim ClaimTypeReferenceId="givenName" />
<OutputClaim ClaimTypeReferenceId="surname" />
<OutputClaim ClaimTypeReferenceId="email" />
<OutputClaim ClaimTypeReferenceId="objectId" PartnerClaimType="sub"/>
<OutputClaim ClaimTypeReferenceId="identityProvider" />
<OutputClaim ClaimTypeReferenceId="tenantId" AlwaysUseDefaultValue="true" DefaultValue="{Policy:TenantObjectId}" />
<OutputClaim ClaimTypeReferenceId="aadUPN" PartnerClaimType="UPNfromAAD"/>
<OutputClaim ClaimTypeReferenceId="extension_organisationId" DefaultValue="" />
<OutputClaim ClaimTypeReferenceId="extension_isImpersonating" DefaultValue="false" />
<OutputClaim ClaimTypeReferenceId="extension_isOrganisationOwner" DefaultValue="false" />
<OutputClaim ClaimTypeReferenceId="extension_objectId" DefaultValue="" />
<OutputClaim ClaimTypeReferenceId="extension_businessName" DefaultValue="" />
<OutputClaim ClaimTypeReferenceId="extension_appRole" DefaultValue="" />
<OutputClaim ClaimTypeReferenceId="extension_orgRole" DefaultValue="" />
<OutputClaim ClaimTypeReferenceId="extension_platformRegion" DefaultValue="0" />
<OutputClaim ClaimTypeReferenceId="extension_allowedCustomers" DefaultValue="" />
<OutputClaim ClaimTypeReferenceId="extension_restrictedCustomers" DefaultValue="" />
<OutputClaim ClaimTypeReferenceId="unique_name" DefaultValue="" />
</OutputClaims>
<SubjectNamingInfo ClaimType="sub" />
</TechnicalProfile>
</RelyingParty>
</TrustFrameworkPolicy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment