exam questions

Exam 70-742 All Questions

View all questions & answers for the 70-742 exam

Exam 70-742 topic 1 question 254 discussion

Actual exam question from Microsoft's 70-742
Question #: 254
Topic #: 1
[All 70-742 Questions]

You have a server named Server1 that has the Active Directory Federation Services server role installed.
You need to configure Server1 as the authorization server. Server1 will be used to authorize access to a web API from a web application. The web application will use OAuth 2.0 and OpenID Connect to access the web API as the authenticated user. The solution must minimize administrative effort.
What should you do first?

  • A. Run New-AdfsApplicationGroup
  • B. Add a web API application
  • C. Run Add-AdfsNativeClientApplication
  • D. Run Add-AdfsWebApiApplication
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
References:
https://docs.microsoft.com/en-us/powershell/module/adfs/add-adfswebapiapplication?view=win10-ps

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
elopez2207
Highly Voted 4 years, 5 months ago
THE ANSWER IS A)Run New-AdfsApplicationGroup You need to authorize access to a web API from a web application. So first you need to CREATE an application group with the Application Group Wizard or run New-AdfsApplicationGroup cmdlet. https://drive.google.com/drive/folders/1RAL-5nQuioK9H0IicnaTpx1dAxDvNShD?usp=sharing Explanation: https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/development/enabling-oauth-confidential-clients-with-ad-fs https://docs.microsoft.com/en-us/powershell/module/adfs/new-adfsapplicationgroup?view=win10-ps https://tossolution.com/2020/05/new-adfsapplicationgroup/
upvoted 7 times
...
Aldrid
Most Recent 4 years, 5 months ago
Sorry, elopez2207 may be correct. You must Create An Application group first. So correct is A. D is not first action.
upvoted 4 times
...
Aldrid
4 years, 5 months ago
We need to: Server1 will be used to authorize access to a web API from a web application New-AdfsApplicationGroup - cmdlet creates an application group in Active Directory Federation Services (AD FS) Add-AdfsWebApiApplication - cmdlet adds a Web API application role to an application in Active Directory Federation Services So I think D is correct.
upvoted 1 times
...
panda
5 years, 7 months ago
The link says only how to use Add-AdfsWebApiApplication cmdlet. I do'nt understand why the cmdlet is needed in this situation. This question is as same as #240 but the answers to select isn't same.
upvoted 1 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 ...