Microsoft AZ-500 Exam: Registering App1 in Azure AD

Obtaining Information for App1 Registration

Question

Your company has an Azure subscription named Sub1 that is associated to an Azure Active Directory Azure (Azure AD) tenant named contoso.com.

The company develops a mobile application named App1. App1 uses the OAuth 2 implicit grant type to acquire Azure AD access tokens.

You need to register App1 in Azure AD.

What information should you obtain from the developer to register the application?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

For Native Applications you need to provide a Redirect URI, which Azure AD will use to return token responses.

https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-oauth-code

To register an application in Azure AD, you need to obtain several pieces of information from the developer. These include:

  1. Application Name: This is the name of the application that will be displayed to users in Azure AD and in the Azure portal.

  2. Redirect URI or Reply URL: This is the URL where Azure AD will redirect the user after they have authenticated. For mobile applications that use the implicit grant type, you should use the term "redirect URI." However, for web applications that use the authorization code grant type, you should use the term "reply URL."

  3. Application ID: This is a unique identifier that Azure AD assigns to the application when you register it. It is used to identify the application in Azure AD and in your code.

  4. Key: When you register an application in Azure AD, you can create a client secret or key that is used to authenticate the application when it requests access tokens from Azure AD. This key should be kept secret and only shared with authorized individuals.

In this scenario, the correct answer is A. a redirect URI. This is because the mobile application App1 is using the OAuth 2 implicit grant type, which requires a redirect URI to be registered in Azure AD. When the user signs in to the application, Azure AD will redirect them to the specified redirect URI with an access token.

Therefore, when registering App1 in Azure AD, the developer should provide a redirect URI that corresponds to the mobile application's callback URL. This will ensure that the application can successfully acquire Azure AD access tokens using the implicit grant type.