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

QUESTION 116
You have a custom API that is secured by using Azure Active Directory (Azure AD).
You need to call the API from within a SharePoint Framework (SPFx) web part. Which object should you use to call the API?

A. AadHttpClient
B. MSGraphClient
C. SPMttpCHent
D. XMLHttpRequest

Answer: B
Explanation:
You can use the Microsoft Graph API to work with Microsoft Teams. In Microsoft Graph, Microsoft Teams is represented by a group resource.
If you are targeting Microsoft Graph, you can use the MSGraphClient client object, which provides a more fluent syntax compared to AadHttpClient.
Note: In versions of the SharePoint Framework starting with v.1.4.1, you can access Microsoft Graph by using either the native graph client (MSGraphClient), or the low-level type used to access any Azure AD-secured REST API (AadHttpClient).
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.
The MSGraphClient client object can consume the Microsoft Graph only. Internally it uses the AadHttpClient client object and supports the fluent syntax of the
Microsoft Graph SDK.
Reference:
https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aad-tutorial

Read More

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

QUESTION 182
Hotspot Question
You are building a web app that will display the Microsoft Exchange Online Inbox of a user. The app will maintain a copy of the user’s Inbox data and regularly check for updates.
You need to configure the Microsoft Graph URI for the app. The solution must minimize network traffic.
How should you complete the request URI? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Answer:

Explanation:
Box 1: https://graph.microsoft.com/
For Microsoft Graph, apps specify permissions prefixed with https://graph.microsoft.com/. For example, an app can request the Mail.Read permission by including
Box 2: v1.0/me/mailfolders/inbox/messages/delta
API versions
The Microsoft Graph API offers two versions: v1.0 and beta, while Outlook offers v1.0, v2.0, and beta. Microsoft Graph v1.0 matches Outlook v2.0, and Microsoft
Graph beta matches Outlook beta.
Microsoft Graph
First, the app has the user sign in to authorize the application. Because the app uses the Microsoft Graph scope Mail.Read, the authorization URL looks like the following: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?scope=openid+Mail.Read&response_type=code&client_id=<SOME
GUID>&redirect_uri=<REDIRECT URL>
Once the app has an access token, it sends the following request: https://graph.microsoft.com/v1.0/me/mailfolders/inbox/messages?$top=1&$select=subject,from,receivedDateTime,isRead
Accept: application/json –
Authorization: Bearer <token>
delta – tracking changes (synchronization)
Both endpoints support querying collections for changes relative to a synchronization state. While the functionality is the same, the methods are slightly different.
On the Microsoft Graph endpoint, changes are queried by using delta queries. This is implemented as a delta function on the collection.
Reference:
https://docs.microsoft.com/en-us/outlook/rest/compare-graph

Read More

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

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

QUESTION 148
You need to develop a SharePoint Framework (SPFx) solution that interacts with Microsoft SharePoint and also Microsoft Teams. The solution must share the same code base.
What should you do?

A. Make the code aware of the Teams context and the SharePoint context.
B. Include the Microsoft Authentication Library for .NET (MSAL.NET) in the solution.
C. Grant admin consent to the Teams API.
D. Publish the solution to an Azure App Service.

Answer: B
Explanation:
https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-overview

Read More

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

QUESTION 114
You have a SharePoint Framework (SPFx) web part named WebPartA that uses SPFx 1.11.0. You need to ensure that WebPartA can be installed as an app in Microsoft Teams.
What should you do?

A. Update the WebPartA.manifestjson file.
B. Update the Config.json file.
C. Upload WebPartA to the Microsoft Teams app catalog.
D. From a command prompt, run the yo gmicrosoft/sharepoint command.

Answer: C

Read More