AADB2C: Send email invitation for new user to sign up
I would like the ability to trigger an email invitation be sent to new users for our web application that I want to authenticate with AADB2C. In our multi-tenant design, each tenant will be responsible for adding their own users to their tenant. I would like the admin of the tenant to be able to send an email invitation to the new user and then that user can complete the sign-up process.
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.
Matthew Whited commented
How about a sample that isnt out of date
This involves custom code either standalone (like in the example) or integrated to the application.
I often work in projects with developers not very familiar with B2C and it also generates additonal effort for the customer.
It would be great to be able to generate the Token and URL Link within the custom policy and send it to the customer by mail via custom policy instead of having additional code.
So as an IT-Pro I can implement that on my own.
This fits our use case perfectly!
looks good. One question, If I set username as sign in then how it will work?.
Need username also while creating user. user can sign in using username as well as email address(any one, users choice). If user selects username for sign in. then email address must support for change or recover password. i.e recently i implemented user module using Azure B2C. I am creating user using graph API . But If I Selects username as sign in then the email address which is added while creating user is not supporting to change or recover password.
almost 4 years and no progress?
what's the status on this?
This is such a strikingly obvious use case, that's how it's done everywhere else. This is what users expect. I'm astonished it's not available in AD B2C. This flaw undermines my trust in the maturity of the product as I'm evaluating available options.
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.
Frank Lores-Penalver commented
May 2019, still nothing... This is a very important feature. Currently the only other options is custom policies, that as the documentation says clearly, should only be implemented by identity pros...
Gustavo Rocha commented
Mar 2019 and still nothing back from MS
AWS Cognito is able to do this, and even provides the ability to customize the email template within the AWS console... Not sure why Azure is so slow on supporting this very basic functionality... I'll be recommending that customers use AWS.
Upvoted as necessary to enable Microsoft Portals Invitation workflow.
Lars Kemmann commented
Update? This is genuinely important. I need one place to go for customer identity, regardless of whether it's self-service sign-up or customer-managed (multi-tenant AAD).
Brian Schupbach commented
any updates here?
Ivan Sangines commented
Any updates on this?
2+ years and we are still waiting on this feature? Is there anyway to find out if this is legitimately being looked at?
Even if you did not have a send invite - If I could create the user in some sort of pre-allocated state based on email and then let them sign up and fill out or confirm the information . This would be for self asserted fields.
F P commented
Very important feature if you don't want random people signing up to your B2C directory. Please give us an update.
This is a key feature of our application. To switch to B2C we would need this ability.