Reputation: 550
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:
Create the user, via Graph API, beforehand and have the user use the email invite to setup their password. This then activates the account.
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
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