exam questions

Exam MS-600 All Questions

View all questions & answers for the MS-600 exam

Exam MS-600 topic 1 question 26 discussion

Actual exam question from Microsoft's MS-600
Question #: 26
Topic #: 1
[All MS-600 Questions]

HOTSPOT -
You have a multitenant app named App1.
You need to ensure that App1 supports token acquisition when a user accesses the app by using a web browser that has a popup blocker extension enabled.
How should you complete the Microsoft Authentication Library (MSAL) for JavaScript v2.0 code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: https://login.microsoftonline.com/common/
The authority is a URL that indicates a directory that MSAL can request tokens from.
* https://login.microsoftonline.com/common/
Sign in users with work and school accounts or personal Microsoft accounts.

Client ID -
The client ID is the unique application (client) ID assigned to your app by Azure AD when the app was registered.

Box 2: loginRedirect -
You need to ensure that App1 supports token acquisition when a user accesses the app by using a web browser that has a popup blocker extension enabled.
Before you can get tokens to access APIs in your application, you need an authenticated user context. You can sign in users to your application in MSAL.js in two ways:
Pop-up window, by using the loginPopup method
Redirect, by using the loginRedirect method
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-client-application-configuration https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-spa-sign-in?tabs=javascript2

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Povnello
10 months, 3 weeks ago
answer is correct.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago