You are developing an app that uses Common Data Service. You must integrate Common Data Service with a new web application. You must allow the new web application to display data from Common Data Service. You build a single-page web application using the Web API. You need to authenticate your app using OAuth. What should you use?

QuestionsCategory: PL-400You are developing an app that uses Common Data Service. You must integrate Common Data Service with a new web application. You must allow the new web application to display data from Common Data Service. You build a single-page web application using the Web API. You need to authenticate your app using OAuth. What should you use?
Admin Staff asked 4 months ago
You are developing an app that uses Common Data Service.
You must integrate Common Data Service with a new web application. You must allow the new web application to display data from Common Data Service.
You build a single-page web application using the Web API.
You need to authenticate your app 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








 

Suggested Answer: B

You can create a Single-Page Application (SPA) which uses JavaScript to work with Microsoft Dataverse (Common Data Service) data. To provide this, Cross-
Origin Resource Sharing (CORS) is enabled so that your SPAs can bypass browser restrictions that normally prevent requests that cross domain boundaries.
Reference:
https://docs.microsoft.com/en-us/power-apps/developer/data-platform/oauth-cross-origin-resource-sharing-connect-single-page-application

This question is in PL-400 Microsoft Power Platform Developer Exam
For getting Microsoft Certified: Power Platform Developer Associate Certificate




Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Microsoft. 
The website does not contain actual questions and answers from Microsoft's Certification Exams.
Trademarks, certification & product names are used for reference only and belong to Microsoft.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.