0

How can I manipulate the built in newUser attribute of AAD B2C? Screenshot of the newUser attribute

I am using the Graph API to get and update user information currently, but can't figure out what value I need to send with the update user Patch to change this bool.

I need a way to programmatically set this attribute to true or false. I can't seem to find it's documentation either.

Anthony Ryan
  • 365
  • 2
  • 6
  • 19

1 Answers1

1

Unfortunately, we can't do this because "newUser" is not a property of AAD user resource type.

Not all the claims included in access token are the properties of the user.

And based on this document, it should only be returned as true when the user is newly created. We should not update it.

Allen Wu
  • 15,529
  • 1
  • 9
  • 20