Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure AD B2C send invitation email to new user

Using the new Azure AD B2C service in preview, I am looking to be able to send a user an invitation email to complete sign-up for our SaaS application. Each of our customers will manage their own users and I want them to be able generate an invitation email to their new users for access to our SaaS application. That user would then finish the sign-up process.

Part of this process will also to be able to include what "customer" this user is assigned to. Part of the invitation process I would like to be able to identify that this customer should be a part of this customer's database in our SaaS application.

like image 416
nboettcher Avatar asked Sep 22 '15 01:09

nboettcher


People also ask

How do I invite someone to Azure B2C?

To invite a user, from the application, type the user's email address and click Send invintation. The application sends a sign-in link (with a id_token_hint). User clicks on the link, that takes to user to Azure AD B2C policy.

How do I resend an azure guest invite?

Resend invitations to guest usersUnder Manage, select Users. In the list, select the user's name to open their user profile. Under My Feed, in the B2B collaboration tile, select the Manage (resend invitation / reset status link. If the user has not yet accepted the invitation, Select the Yes option to resend.

Is Azure AD B2C deprecated?

Yes. Azure Active Directory (AD) Connect and components of V1. 0 are to be deprecated and retired on and prior to August 30, 2022. This will mean that the version will no longer be in operational order, and Microsoft will no longer be able to provide support.


2 Answers

This is not a supported feature. I recommend that you use our User Voice forum to make feature requests; we are tracking those.

There is an existing feature request for this: AADB2C: Send email invitation for new user to sign up

like image 159
swkrish-MSFT Avatar answered Dec 06 '22 22:12

swkrish-MSFT


You can use custom policies to achieve this. You can send a JWT to B2C that includes the 'customer' the user is assigned to.

There is sample code here that sends the JWT to B2C.

The leaf policy that receives the JWT is here.

The sample app is here.

like image 30
spottedmahn Avatar answered Dec 06 '22 21:12

spottedmahn