question

PrashantN-2927 avatar image
0 Votes"
PrashantN-2927 asked WendyLi-MSFT edited

Looking for Graph API to create a external user in Azure AD B2C tenent from external application with API call

Hello,

We have a requirement to user AD B2C tenant to capture the User Id and Password in Azure AD B2C and remaining profile attributes in a eCommerce application. We thought of making a call to AD B2C using the Graph API to create a user from external API. Can you please suggest what Graph API we can go with for this?

microsoft-graph-users
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, @PrashantN-2927 Do you mean to use graph api to invite guest users in Azure b2c?

0 Votes 0 ·

Hi,

We have a Commerce application and end customers can come and register in the application to place orders. During registration, USER ID and PASSWORD, First Name, last Name to be captured in AD B2C and remaining information will be stored in the commerce application. Looking for Graph API that can be called from the Commerce service which will create the user in AD B2C.

0 Votes 0 ·

Is the Commerce application in your Azure b2c tenant? You can use this api to register a consumer account in b2c. https://docs.microsoft.com/en-us/graph/api/user-post-users?view=graph-rest-1.0&tabs=http#example-2-create-a-user-with-social-and-local-account-identities

0 Votes 0 ·
Show more comments

Hi, dear @PrashantN-2927 Would you please provide us with an update on the status of your issue?

0 Votes 0 ·

1 Answer

CarlZhao-MSFT avatar image
0 Votes"
CarlZhao-MSFT answered WendyLi-MSFT edited

Hi, dear @PrashantN-2927

You can use the create user api endpoint to register it as a consumer account in azure ad b2c.

Notes: We post this information as an answer to share the suggestion for this question so that users who may meet this issue could find the suggestion quickly


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

We have a Commerce application and end customers can come and register in the application to place orders. During registration, USER ID and PASSWORD, First Name, last Name to be captured in AD B2C and remaining information will be stored in the commerce application. Looking for Graph API that can be called from the Commerce service which will create the user in AD B2C.

0 Votes 0 ·