nboettcher
nboettcher

Reputation: 465

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.

Upvotes: 11

Views: 5974

Answers (2)

swkrish-MSFT
swkrish-MSFT

Reputation: 141

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

Upvotes: 4

spottedmahn
spottedmahn

Reputation: 16011

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.

Upvotes: 3

Related Questions