Joseph Woolf
Joseph Woolf

Reputation: 550

Azure B2C Graph API: Create User with an Object ID

Is it possible to create a user, via Graph API, with a predefined Object ID? When the user invites another user via email, I want to be able to either:

  1. Create the user, via Graph API, beforehand and have the user use the email invite to setup their password. This then activates the account.

  2. Upon inviting the user, generate an Object ID with the ID token. Then, upon the user creating their account via the email invite, have the generated Object ID be used for the user to be created via Azure B2C.

Which approach would be more feasible?

Upvotes: 2

Views: 1101

Answers (1)

rbrayb
rbrayb

Reputation: 46720

No - it's a GUID, randomly assigned when the user is created.

The former. This is essentially a version of the magic link flow.

Upvotes: 1

Related Questions