Identity with Windows Server 2016 — Question 105
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?
Answer options
- A. Run Add-AdfsServerApplication
- B. Run New-AdfsapplicationGroup
- C. Enable the OAuth endpoint
- D. Run Add-AdfsNativeClientApplication
Correct answer: A
Explanation
The correct answer is A, as running Add-AdfsServerApplication is the first step necessary to register the authorization server. The other options involve subsequent configurations or are not the initial step required to set up Server1 for OAuth 2.0 and OpenID Connect.