Deploy Work Folders with AD FS and Web Application Proxy: Step 4, Set-up Web Application Proxy
This topic describes the fourth step in deploying Work Folders with Active Directory Federation Services (AD FS) and Web Application Proxy. You can find the other steps in this process in these topics:
Deploy Work Folders with AD FS and Web Application Proxy: Overview
Deploy Work Folders with AD FS and Web Application Proxy: Step 1, Set Up AD FS
Deploy Work Folders with AD FS and Web Application Proxy: Step 2, AD FS Post-Configuration Work
Deploy Work Folders with AD FS and Web Application Proxy: Step 3, Set Up Work Folders
Deploy Work Folders with AD FS and Web Application Proxy: Step 5, Set Up Clients
Note
The instructions covered in this section are for a Windows Server 2019 or Windows Server 2016 environment. If you're using Windows Server 2012 R2, follow the Windows Server 2012 R2 instructions.
To set up Web Application Proxy for use with Work Folders, use the following procedures.
Install the AD FS and Work Folder certificates
You must install the AD FS and Work Folders certificates that you created earlier (in step 1, Set up AD FS, and step 3, Set up Work Folders) into the local computer certificate store on the machine where the Web Application Proxy role will be installed.
Because you're installing self-signed certificates that can't be traced back to a publisher in the Trusted Root Certification Authorities certificate store, you must also copy the certificates to that store.
To install the certificates, follow these steps:
Click Start, and then click Run.
Type MMC.
On the File menu, click Add/Remove Snap-in.
In the Available snap-ins list, select Certificates, and then click Add. The Certificates Snap-in Wizard starts.
Select Computer account, and then click Next.
Select Local computer: (the computer this console is running on), and then click Finish.
Click OK.
Expand the folder Console Root\Certificates(Local Computer)\Personal\Certificates.
Right-click Certificates, click All Tasks, and then click Import.
Browse to the folder that contains the AD FS certificate, and follow the instructions in the wizard to import the file and place it in the certificate store.
Repeat steps 9 and 10, this time browsing to the Work Folders certificate and importing it.
Expand the folder Console Root\Certificates(Local Computer)\Trusted Root Certification Authorities\Certificates.
Right-click Certificates, click All Tasks, and then click Import.
Browse to the folder that contains the AD FS certificate, and follow the instructions in the wizard to import the file and place it in the Trusted Root Certification Authorities store.
Repeat steps 13 and 14, this time browsing to the Work Folders certificate and importing it.
Install Web Application Proxy
To install Web Application Proxy, follow these steps:
On the server where you plan to install the Web Application Proxy, open Server Manager and start the Add Roles and Features Wizard.
Click Next on the first and second pages of the wizard.
On the Server Selection page, select your server, and then click Next.
On the Server Role page, select the Remote Access role, and then click Next.
On the Features page and Remote Access page, click Next.
On the Role Services page, select Web Application Proxy, click Add Features, and then click Next.
On the Confirm installation selections page, click Install.
Configure Web Application Proxy
To configure Web Application Proxy, follow these steps:
Click the warning flag at the top of Server Manager, and then click the link to open the Web Application Proxy Configuration Wizard.
On the Welcome page, press Next.
On the Federation Server page, enter the Federation Service name. In the test example, this is blueadfs.contoso.com.
Enter the credentials of a local administrator account on the federation servers. Do not enter in domain credentials (for example, contoso\administrator), but local credentials (for example, administrator).
On the AD FS Proxy Certificate page, select the AD FS certificate that you imported earlier. In the test case, this is blueadfs.contoso.com. Click Next.
The confirmation page shows the Windows PowerShell command that will execute to configure the service. Click Configure.
Publish the Work Folders web application
The next step is to publish a web application that will make Work Folders available to clients. To publish the Work Folders web application, follow these steps:
Open Server Manager, and on the Tools menu, click Remote Access Management to open the Remote Access Management Console.
Under Configuration, click Web Application Proxy.
Under Tasks, click Publish. The Publish New Application Wizard opens.
On the Welcome page, click Next.
On the Preauthentication page, select Active Directory Federation Services (AD FS), and click Next.
On the Support Clients page, select OAuth2, and click Next.
On the Relying Party page, select Work Folders, and then click Next. This list is published to the Web Application Proxy from AD FS.
On the Publishing Settings page, enter the following and then click Next:
The name you want to use for the web application
The external URL for Work Folders
The name of the Work Folders certificate
The back-end URL for Work Folders
By default, the wizard makes the back-end URL the same as the external URL.
For the test example, use these values:
Name: WorkFolders
External URL: https://workfolders.contoso.com
External certificate: The Work Folders certificate that you installed earlier
Backend server URL: https://workfolders.contoso.com
The confirmation page shows the Windows PowerShell command that will execute to publish the application. Click Publish.
On the Results page, you should see the application was published successfully.
Note
If you have multiple Work Folders servers, you need to publish a Work Folders web application for each Work Folders server (repeat steps 1-10).
Next step: Deploy Work Folders with AD FS and Web Application Proxy: Step 5, Set Up Clients