title: Add custom claim in Azure ADB2C through Graph Api
body: <p>I would like to add custom claims to the tokens of some specific users that are managed by admin through graph api. </p>
  
  <p>Basic scenario is as following:</p>
  
  <p>User is signed up to my application. Initially all users have limited access to resources. As an admin, I will update some users by adding specific claim so that my app will authorize the user for specific resource.</p>
  
  <p>There are couple of ways to include claims (extended properties) in tokens in my understanding.</p>
  
  <ol>
  <li><p>Create user attribute through azure portal and use it in signup policies to collect the value from user. In my case, the custom attribute will be applied only by admins so I won't let user manage this claim. So this is not a good approach for me and also it doesn't make sense to me as I will add new properties after many users already signed up so there will be no way to collect this information.</p></li>
  <li><p>The other way is to add extended property through Graph Api. To accomplish it, I need to create a new app (through app registrations) and register extended property to this app through graph api. Then update user(through graph api) by adding newly created extended property in that application. At the end, I would expect this extended property will show up in my token but no chance. It is not visible in portal, in token but only in graph api responses.</p></li>
  <li><p>Create custom polciy which I don't will as it is not recommended for non experts.</p></li>
  </ol>
  
  <p>What am I missing in the second solution? </p>