Question 51

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?
  • Question 52

    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 53

    You are building a single-page application (SPA) that will have the following parameters:
    * App Id: DBA22F72-64PA4C44-AA2C-FAA0DA5A471B
    * Tenant Id: DC045C4D-5881-43C7-97AB-3C5A1ADB8DBC
    * AppName: Contoso.Spa
    You have a line-of-business API for invoicing that is secured by using the Microsoft identity platform. The API has the following parameters:
    * App Id: 8/9A43D7-1794-47A0-AB2B-440B63FEC248
    * Tenant Id: DC04SC4D S881-43C7-97AB 3C5A1ADB8DBC
    * AppName: Contoso.lnvoicing
    Contoso.Invoicing declares the following custom scopes:
    * Invoices-Read
    * Invoices. Read Write
    Contoso.Spa needs to call Contoso.lnvoicing to create new invoices.
    Which code should you use in Contoso.Spa to obtain an access token for Contoso.Invoicing? To answer, select the appropriate options in the answer area.
    NOTE: Each correct select is worth one point.

    Question 54

    You company has a third-party invoicing web app.
    You need to display the app within Microsoft Teams for one user only. The app will not require conversational interactions.
    How should you display the app by using the minimum amount of effort?
  • Question 55

    You have a SharePoint Framework (SPFx) web part that includes the manifest shown in the following exhibit.

    Which task can the web part perform?