Share via


Set the Federation Service URL for a claims-aware application

Applies To: Windows Server 2003 R2

The Federation Service Uniform Resource Locator (URL) in Active Directory Federation Services (ADFS) defines the URL that is used for all Web sites and Web applications on a federation Web server where the ADFS Web Agent is enabled. If the Federation Service URL for a Web server that hosts a claims-aware application changes, you must update the ADFS Web Agent by editing the Web.config file for the application.

Administrative credentials

To complete this procedure, you must have read-write access to the Web.config file.

To set the Federation Service URL for a claims-aware application using the Web.config file

  1. In Notepad or other text editor, open the Web.config file that is in the Web application directory (typically \Inetpub\wwwroot\ApplicationName) on the Web server.

  2. Search for <fs>.

  3. In the current entry (for example, https://adfsresource.trey.net/adfs/fs/federationserverservice.asmx), select the domain name portion of the URL, and then replace the name with a different fully qualified domain name.

  4. Save and close the Web.config file.