QuestionQ279

Develop integrations

You are developing an app that uses Common Data Service.

You must integrate Common Data Service with a new web application and enable that application to display Common Data Service data.

You build a single-page web application by using the Web API.

You need to authenticate the app by using OAuth.

What should you use?

  • A Windows Communication Foundation (WCF)
  • B Cross-Origin Resource Sharing (CORS)
  • C Microsoft Authentication Library (MSAL)
  • D Kerberos authentication
Explanation

Microsoft Authentication Library (MSAL), specifically MSAL.js for a JavaScript single-page application, obtains Microsoft Entra ID OAuth tokens for accessing Dataverse through its Web API. CORS only permits cross-origin requests; it does not authenticate users.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!