fix validation errors in custom policies

Orlando Bustamante Rincon 0 Reputation points
2024-01-08T15:11:49.5533333+00:00

@Alfredo Revilla - Upwork Top Talent | IAM SWE SWA I tried to send you an email with the custom policies that are generating the validation error but i'm getting this email reply:

The group mtmvp only accepts messages from people in its organization or on its allowed senders list, and your email address isn't on the list.|

Could you please inform me how to proceed? thank you!

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    2024-02-03T23:47:46.68+00:00

    Hello @Orlando Bustamante Rincon , thanks for your question and the share information. The Azure AD B2C validations errorr are expected due to adding or mapping claims not supported by Microsoft Entra technical profiles. Eg:

    • "B2C_1A_USER_MGMT_INACTIVE_SIGNUP_SIGNIN": 'oid,tid,given_name,family_name,email,emailAddress,name,upn' is not supported in Azure Active Directory Provider technical profile 'AAD-UserReadLastLogonTime'.
    • B2C_1A_USER_MGMT_SIGNUP_SIGNIN": 'oid,tid,given_name,family_name,email,emailAddress,name,upn' is not supported in Azure Active Directory Provider technical profile 'AAD-UserWriteUsingAlternativeSecurityId'

    For supported claims take a look to Requirements of an operation and Microsoft Entra user resource type. If you need rename output claims during token issuance you can do that in the Relying Party Technical Profile. Eg. Output objectid as oid:

      <RelyingParty>
      <!-- Content stripped for clariry purtoses -->
        <TechnicalProfile Id="PolicyProfile">
          <OutputClaims>
            <OutputClaim ClaimTypeReferenceId="objectId" PartnerClaimType="oid"/>
          </OutputClaims>
        </TechnicalProfile>
      </RelyingParty>
    

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.