title: Azure B2c custom attributes in custom policies do not come in the token
body: <p>I created a custom policy in Azure B2c and used custom attributes.</p>
  <p>However, custom attributes only enter the token when the user creates the account. When he logs in again, the custom attribute does not come in the token.</p>
  <p>Below is my RelyingParty.</p>
  <pre><code>&lt;RelyingParty&gt;
      &lt;DefaultUserJourney ReferenceId=&quot;SignUpOrSignIn&quot; /&gt;
      &lt;TechnicalProfile Id=&quot;PolicyProfile&quot;&gt;
        &lt;DisplayName&gt;PolicyProfile&lt;/DisplayName&gt;
        &lt;Protocol Name=&quot;OpenIdConnect&quot; /&gt;
        &lt;OutputClaims&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;displayName&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;givenName&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;surname&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;email&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;objectId&quot; PartnerClaimType=&quot;sub&quot;/&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;identityProvider&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;tenantId&quot; AlwaysUseDefaultValue=&quot;true&quot; DefaultValue=&quot;{Policy:TenantObjectId}&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;extension_time&quot; DefaultValue=&quot;&quot; /&gt;
        &lt;/OutputClaims&gt;
        &lt;SubjectNamingInfo ClaimType=&quot;sub&quot; /&gt;
      &lt;/TechnicalProfile&gt;
    &lt;/RelyingParty&gt;
  </code></pre>