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.

You are developing a SharePoint Framework (SPFx) solution.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

You plan to develop a new way for users to generate tickets in a support system by filling out a form that pops up in a Microsoft Teams app.
You already have the built form in an existing web app.
You need to ensure that the existing form can be hosted in a custom tab in a Microsoft Teams app.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
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?
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.

