You are building a Microsoft ASP.NET application that requires authentication. You need to authenticate users by using Azure Active Directory (Azure AD). What should you do first?
A.
Assign an enterprise application to users and groups
B.
Create an app registration in Azure AD
C.
Configure the application to use a SAML endpoint
D.
Create a new OAuth token from the application
E.
Create a membership database in an Azure SQL database
To authenticate users using Azure Active Directory (Azure AD) in an ASP.NET application, the first step is to create an app registration in Azure AD. This process involves registering your application in Azure AD to establish its identity and define the permissions it needs to access Azure resources.
Steps:
Register the app in Azure AD:
Navigate to Azure Active Directory in the Azure portal.
Select App registrations and create a new registration.
Provide details like the application name, supported account types, and redirect URI.
Configure the application:
Use the app registration's client ID and tenant ID in your application to enable authentication via Azure AD.
Set permissions:
Grant appropriate API permissions and, if necessary, configure user consent.
B is the answer.
https://learn.microsoft.com/en-us/azure/active-directory/develop/application-model
For an identity provider to know that a user has access to a particular app, both the user and the application must be registered with the identity provider. When you register your application with Azure Active Directory (Azure AD), you're providing an identity configuration for your application that allows it to integrate with the Microsoft identity platform.
https://docs.microsoft.com/en-us/azure/active-directory/develop/web-app-quickstart?pivots=devlang-aspnet
Step 1: Register your application
Sign in to the Azure portal.
If you have access to multiple tenants, use the Directory + subscription filter in the top menu to switch to the tenant in which you want to register the application.
Search for and select Azure Active Directory.
Under Manage, select App registrations > New registration.
Answer is B
This section is not available anymore. Please use the main Exam Page.AZ-400 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Hooters
Highly Voted 3 years, 11 months agofrancis6170
Highly Voted 3 years, 4 months agonikolayivanov
Most Recent 3 months, 1 week agoozbonny
8 months, 1 week agovsvaid
10 months, 2 weeks agoyana_b
1 year, 2 months agozellck
1 year, 4 months agoDGladiator
1 year, 5 months agosurensaluka
1 year, 8 months agosyu31svc
2 years, 2 months agoGovcomm
2 years, 3 months agoCheehp
2 years, 6 months agordemontis
2 years, 7 months agosujitwarrier11
2 years, 8 months agoKalaismile06
3 years, 2 months agogoatlord
3 years, 2 months agoAsh111
3 years, 4 months ago