- (Exam Topic 2)
You are developing a front end web app.
You want to display the current username as part of the user interface.
You need to retrieve the current username from Microsoft Graph by using a REST request. The solution must minimize the amount of information returned.
To which URI should you send the request?
Correct Answer:
A
- (Exam Topic 2)
You have an application that employees use to schedule vacations. The application sets an automatic reply and an out-of-off event in the employees’ Microsoft 365 calender.
Employees who access the application from a mobile device report that the application is slow to make changes.
You need to replace the application calls to use batched request. Automatic reply must be set only if an out-of-office event is set successfully.
How should you complete the batch request? To answer, select the appropriate options in the answer area.
Solution:
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 2)
You are building a new tab as part of a new Microsoft Teams application. Users will experience the tab privately.
How should you complete the application manifest? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Solution:
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 2)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are developing a new application named App1 that uses the Microsoft identity platform to authenticate to Azure Active Directory (Azure AD).
Currently, App1 can read user profile information. You need to allow App1 to read the user’s calendar.
Solution: Add https://graph.windows.net/user.read to the list of scopes during the initial login request. Does this meet the goal?
Correct Answer:
B
Microsoft Graph Calendars.Read allows the app to read events in user calendars.
For your app to access data in Microsoft Graph, the user or administrator must grant it the correct permissions via a consent process.
Application permissions are used by apps that run without a signed-in user present; for example, apps that run as background services or daemons. Application permissions can only be consented by an administrator.
References: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent https://docs.microsoft.com/en-us/graph/permissions-reference
- (Exam Topic 2)
What should you add to a SharePoint Framework (SPFx) solution to ensure that the solution can be used as a Microsoft Teams tab?
Correct Answer:
D
You need to update the web part manifest to make it available for Microsoft Teams. Locate the manifest json file for the web part you want to make available to Teams and modify the supportedHosts properties to include "TeamsTab".
Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-web-part-as-msteams-tab