Which code should you use in Contoso.Spa to obtain an access token for Contoso.Invoicing?

HOTSPOT

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.

Answer:

Latest MS-600 Dumps Valid Version with 142 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
2 Comments
Inline Feedbacks
View all comments
Jack
Jack
2 years ago

And property “authority”? Why client ID?

In Azure AD, authority is a URL indicating the Azure active directory that MSAL uses to obtain tokens. It is of the form https://login.microsoftonline.com/.

https://azuread.github.io/microsoft-authentication-library-for-js/docs/msal/classes/_useragentapplication_.useragentapplication.html

Jack
Jack
2 years ago

Really “Invoice.Read”?
“Contoso.Spa needs to call Contoso.lnvoicing to create new invoices.”