question

MuhammadUsmanshaikh-5935 avatar image
0 Votes"
MuhammadUsmanshaikh-5935 asked ·

Azure AD B2C: Email on Profile Edit

Hi

we are using signup with mobile no: not taking email on signup, is there any other way that we store user email after signup in azure ad b2c.

Share sample that would be good.

Thanks

azure-ad-b2c
· 3
10 |1000 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 @MuhammadUsmanshaikh-5935 , you can store email but you need to have a way for the user to input it. Is there a reason why you can't have them do it at sign-up?

0 Votes 0 ·

Hi @JamesHamil-MSFT,

yes we are signup with phone no: so we don't need email on signup, but it's optional for the user to enter their email from profile, but profile edit is not given that field to display.


One more question, if we use Microsoft Graph API ,will they charge for it?


thank you..

0 Votes 0 ·
JitendraRai-2073 avatar image JitendraRai-2073 MuhammadUsmanshaikh-5935 ·

Thanks @MuhammadUsmanshaikh-5935 and you can use MS Graph API - Patch /users/id with mail parameter. Please refer MS Graph API document (https://docs.microsoft.com/en-us/graph/api/user-update?view=graph-rest-1.0&tabs=http)

0 Votes 0 ·

1 Answer

JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered ·

Hi @MuhammadUsmanshaikh-5935 , as Jitendra mentioned, please use MS Graph API - Patch /users/id with mail parameter. Please refer MS Graph API document (https://docs.microsoft.com/en-us/graph/api/user-update?view=graph-rest-1.0&tabs=http)

If this answer helped you, please mark it as "Verified" so other users may reference it.

Thank you,
James

·
10 |1000 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.