Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam MS-600 Topic 4 Question 58 Discussion

Actual exam question for Microsoft's MS-600 exam
Question #: 58
Topic #: 4
[All MS-600 Questions]

You have a third-party API that is secured by using Azure Active Directory (Azure AD).

You need to configure a SharePoint Framework (SPFx) web part to consume the third-party API.

Which method should you use?

Show Suggested Answer Hide Answer
Suggested Answer: A

The AadHttpClient client object is useful for consuming any REST API. You can use it to consume Microsoft Graph or any other third-party (or first-party) REST API.

To consume any REST API using the AadHttpClient client object, create a new instance of the AadHttpClient type by calling the context.aadHttpClientFactory.getClient() method and providing the URI of the target service.


https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aad-tutorial

Comments

Currently there are no comments in this discussion, be the first to comment!


Save Cancel