Greetings, all. I am looking to use Azure B2C with Power Pages but need to prevent users from registering themselves. On the B2C side, that means we'd only have a Sign In flow and Password Reset flow.
The process we want is as follows:
- An admin user will create users' Contact records. [Achieved via Portal App]
- B2C accounts automatically get created to match Contact records. [Need help]
- Admin sends invite codes that users can use to access the portal. [Achieved via Portal Invitations]
- Users have to reset their B2C passwords on first sign-in. [Assuming we can achieve via Force Password Reset in Azure B2C]
The challenge I'm facing is Power Pages doesn't have any built-in support for #2 (creating B2C records), which either means someone has to manually create these B2C accounts OR we have to enable a sign-up flow, which is a security concern since anyone could create a B2C account that way.
Anyone have ideas? All suggestions welcome.