Install the AD FS Role Service
Applies To: Windows Server 2012 R2
You can use the following procedure to install the AD FS role service on a computer that is running Windows Server 2012 R2 to become the first federation server in a federation server farm or a federation server in an existing federation server farm.
Membership in Administrators, or equivalent, on the local computer is the minimum requirement to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (https://go.microsoft.com/fwlink/?LinkId=83477).
To install the AD FS server role via the Add roles and features wizard
Open Server Manager. To open Server Manager, click Server Manager on the Start screen, or Server Manager in the taskbar on the desktop. In the Quick Start tab of the Welcome tile on the Dashboard page, click Add roles and features. Alternatively, you can click Add Roles and Features on the Manage menu.
On the Before you begin page, click Next.
On the Select installation type page, click Role-based or Feature-based installation, and then click Next.
On the Select destination server page, click Select a server from the server pool, verify that the target computer is selected, and then click Next.
On the Select server roles page, click Active Directory Federation Services, and then click Next.
On the Select features page, click Next. The required prerequisites are preselected for you. You do not have to select any other features.
On the Active Directory Federation Service (AD FS) page, click Next.
After you verify the information on the Confirm installation selections page, click Install.
On the Installation progress page, verify that everything installed correctly, and then click Close.
To install the AD FS server role via Windows PowerShell
- On the computer that you want to configure as a federation server, open the Windows PowerShell command window, and then run the following command: Install-windowsfeature adfs-federation –IncludeManagementTools.