We have a sample for this use case here: https://github.com/azure-ad-b2c/samples/tree/master/policies/invite
Let us know what you think and if this fits your use case.
An error occurred while saving the commentAnonymous commented
I work for a state government, and the ability to send invitations to our users and allow them to register with a code would be great. We do this now, but have spun up our own solution.