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/
Latest MS-600 Dumps Valid Version with 142 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund