PrepAway - Latest Free Exam Questions & Answers

You need to retrieve the user’s name and email address …

You are building an Azure Web App that uses Azure Active Directory B2C for identity. The app will use social
providers such as Facebook, Microsoft Account, and LinkedIn. The Web App has a customized home page
that is based on the user’s name. The Web App does not function if the user’s name cannot be retrieved.
You need to retrieve the user’s name and email address when they authenticate with one of the supported
identity providers.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Perform a Graph API query of the identity provider.

B.
Query the underlying Active Directory provided by Azure Active Directory.

C.
Retrieve the values from the Scope of the authentication request.

D.
Inspect the Claims in the authorization token.

4 Comments on “You need to retrieve the user’s name and email address …

  1. spguru says:

    Correct, https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-token-and-claims

    Many of the tokens issued by Azure AD are implemented as JSON Web Tokens, or JWTs. A JWT is a compact, URL-safe means of transferring information between two parties. The information contained in JWTs are known as “claims”, or assertions of information about the bearer and subject of the token. The claims in JWTs are JSON objects encoded and serialized for transmission. Since the JWTs issued by Azure AD are signed, but not encrypted, you can easily inspect the contents of a JWT for debugging purposes. There are several tools available for doing so, such as jwt.ms. For more information on JWTs, you can refer to the JWT specification.




    1



    0

Leave a Reply