May/2022 Latest Braindump2go MS-600 Exam Dumps with PDF and VCE Free Updated Today! Following are some new MS-600 Real Exam Questions!

QUESTION 177
You need to build a SharePoint Framework (SPFx) web part that will display the contents of a user’s Microsoft Exchange Online inbox. The solution must minimize development effort.
Which object should you include in the solution?

A. SPHttpClient
B. the JavaScript API for Exchange Web Services (EWS)
C. MSGraphClient
D. AadHttpClient

Answer: C
Explanation:
MSGraphClient is a new HTTP client introduced in SharePoint Framework v1.6.0 that simplifies connecting to the Microsoft Graph inside SharePoint Framework solutions. With MS Graph we use MSGraphClient to get information about the current user; this.context.msGraphClientFactory
.getClient()
.then((client: MSGraphClient): void => {
// get information about the current user from the Microsoft Graph client
.api(‘/me’)
.get((error, response: any, rawResponse?: any) => { // handle the response
});
});
Reference:
https://www.c-sharpcorner.com/article/show-outlook-messages-from-microsoft-graph-in-spfx-client-side-web-part/

Read More