Skip to content

Instantly share code, notes, and snippets.

@mfcollins3
Created January 16, 2022 05:18
Show Gist options
  • Save mfcollins3/04ab248b1e791aa8fdb065679362d10e to your computer and use it in GitHub Desktop.
Save mfcollins3/04ab248b1e791aa8fdb065679362d10e to your computer and use it in GitHub Desktop.
AAD-UserReadUsingObjectId
<TechnicalProfile Id="AAD-UserReadUsingObjectId">
<Metadata>
<Item Key="Operation">Read</Item>
<Item Key="RaiseErrorIfClaimsPrincipalDoesNotExist">true</Item>
</Metadata>
<IncludeInSso>false</IncludeInSso>
<InputClaims>
<InputClaim ClaimTypeReferenceId="objectId" Required="true" />
</InputClaims>
<OutputClaims>
<!-- Optional claims -->
<OutputClaim ClaimTypeReferenceId="signInNames.emailAddress" />
<OutputClaim ClaimTypeReferenceId="displayName" />
<OutputClaim ClaimTypeReferenceId="otherMails" />
<OutputClaim ClaimTypeReferenceId="givenName" />
<OutputClaim ClaimTypeReferenceId="surname" />
</OutputClaims>
<IncludeTechnicalProfile ReferenceId="AAD-Common" />
</TechnicalProfile>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment