Question 136

You are developing an application that will use Microsoft Graph.
You attempt to retrieve a list of the groups in your organization by using a URI of
https://graph.microsoft.eom/vi.0/groups on behalf of the user.
The application fails. The diagnostic logs show the following information:
* An HTTP 403 Forbidden status code
* An Authorization_RequestDenied error code
* The following error message: "Insufficient privileges to complete the operation." You need to ensure that the application can retrieve the list of groups. The solution must use the principle of least privilege. Which two actions should you perform? Each correct answer presents part of the solution.
NOTE; Each correct selection is worth one point.
  • Question 137

    You are developing a Microsoft Teams app that will display differently depending on the current Ul theme applied to Microsoft Teams.
    You need to retrieve the current theme by using the Microsoft Teams JavaScript client SDK?
    Which function should you call?
  • Question 138

    You are developing an application that will run as an overnight background service on a server. The service will access web-hosted resources by using the application's identity and the OAuth 2.0 client credentials grant flow.
    You register the application and grant permissions. The tenant administrator grants admin consent to the application.
    You need to get the access token from Azure Active Directory (Azure AD).
    Which URI should you use for the POST request? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 139

    You receive the following JSON document when you use Microsoft Graph to query the current signed-in user.

    For each of the following statements, select Yes if the statement is true. Otherwise, select No.
    NOTE: Each correct selection is worth one point.

    Question 140

    You need to retrieve a list of the last 10 files that the current user opened from Microsoft OneDrive. The response must contain only the file ID and the file name.
    Which URI should you use to retrieve the results? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.