PL-400 Exam QuestionsBrowse all questions from this exam

PL-400 Exam - Question 305


A company has a model-driven app that uses Microsoft Dataverse.

The company requires a web application that retrieves information from the model-driven app. The requirements for the web application include:

• Must be a single-page web application that uses the Web API.

• Must display the correct company information.

• Must authenticate using OAuth without additional verification.

You need to configure the web application.

Which two methods should you use?

Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Show Answer
Correct Answer: D

For a single-page web application that needs to authenticate using OAuth without additional verification and retrieve information from a model-driven app using the Web API, the appropriate method is the Microsoft Authentication Library (MSAL). MSAL is the successor to ADAL, which has been decommissioned as of June 2023. MSAL provides the necessary functionalities to authenticate users using OAuth and obtain tokens from Azure Active Directory for accessing protected resources.

Discussion

5 comments
Sign in to comment
stalee
Jan 14, 2024

Looks correct to me.

Zahida
May 2, 2024

ADAL has been decommissioned as of June 2023

AnonymousOptions: CD
Nov 5, 2024

Both ADAL and MSAL are libraries provided by Microsoft for enabling OAuth authentication in applications. ADAL (Azure Active Directory Authentication Libraries) and MSAL (Microsoft Authentication Library) are used for implementing OAuth authentication flows with Azure Active Directory (Azure AD). They provide capabilities for securely obtaining tokens from Azure AD to authenticate users and enable access to protected resources like the Web API provided by the model-driven app.

Juan0414Options: CD
Mar 6, 2025

C, D Although ADAL has been deprecated and Microsoft recommends migrating the MSAL https://learn.microsoft.com/en-us/entra/identity-platform/msal-migration

itmaxuserOptions: CD
Apr 15, 2025

Correct Options: Microsoft Authentication Library (MSAL): MSAL is the recommended library for modern authentication in web applications, supporting OAuth2 and the Microsoft identity platform. It will handle authentication using Azure AD and OAuth, meeting the requirement for "OAuth without additional verification." Microsoft Azure Active Directory Authentication Libraries (ADAL): ADAL is the previous authentication library, but it still supports OAuth authentication for web applications. However, MSAL is the preferred solution now, as ADAL is being deprecated in favor of MSAL.