Can sign up page be auto populated after AAD authentication ?

Amy Z 291 Reputation points
2020-10-30T09:50:14.413+00:00

Hi,

I'm trying AAD login and know when authenticating for the first time, users need to fill in the sign up form to complete the process.
based on following answer
https://learn.microsoft.com/answers/comments/83858/view.html

I'm wondering is that possible to configure the AAD login and automatically bring user_email/first_name/ last_name to the sign up page ?
It seems administrator cannot modify user email/name afterward, so auto population perhaps can dismiss the human entry error.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,960 questions
0 comments No comments
{count} votes

Accepted answer
  1. svijay-MSFT 5,226 Reputation points Microsoft Employee
    2020-11-03T17:16:26.177+00:00

    Hello @Amy Z ,

    When I tested at my end by following the article API Management with AAD

    I observed that only email was not getting pulled up, hence in the sign up page appeared to enter in the email.

    37217-22.png

    For email to be returned in the AAD Authentication, you can follow the below steps :

    In the App page ( Azure AD --> App Registration --> Your app for the AAD Login --> Token Configuration )

    This is the App that you'd have registered as per the above article.

    You can click on the "Add optional Claim", Token Type -> ID , select the Email, click Add

    37190-image.png

    You will be informing the App to return the email as well in the token. Now, the sign up page will not appear as all the required information are now returned post the AAD Authentication.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful