Configure a WS-Federation provider for portals with AD FS


Effective October 12, 2022, Power Apps portals is Power Pages. More information: Microsoft Power Pages is now generally available (blog)
We will soon migrate and merge the Power Apps portals documentation with Power Pages documentation.


The steps for the configuration of Active Directory Federation Services (AD FS) might vary depending on the version of your AD FS server.

Create an AD FS relying party trust

  1. Using the AD FS Management tool, go to Trust Relationships > Relying Party Trusts.

    1. Select Add Relying Party Trust.
    2. Welcome: Select Start.
    3. Select Data Source: select Enter data about the relying party manually, and then select Next.
    4. Specify Display Name: Enter a name, and then select Next.
    5. Choose Profile: Select AD FS 2.0 profile, and then select Next.
    6. Configure Certificate: Select Next.
    7. Configure URL: Select the Enable support for the WS-Federation Passive protocol check box.
      Relying party WS-Federation Passive protocol URL: Enter
      Note that AD FS requires that the portal run on HTTPS.


    The resulting endpoint has the following settings:

    • Endpoint type: WS-Federation
    • Binding: POST
    • Index: n/a (0)
    • URL:
    1. Configure Identities: Enter, select Add, and then select Next. If applicable, you can add more identities for each additional relying party portal. Users can authenticate across any or all available identities.
    2. Choose Issuance Authorization Rules: Select Permit all users to access this relying party, and then select Next.
    3. Ready to Add Trust: Select Next.
    4. Select Close.
  2. Add the Name ID claim to the relying party trust:

    Transform Windows account name to Name ID claim (Transform an Incoming Claim):

    • Incoming claim type: Windows account name
    • Outgoing claim type: Name ID
    • Outgoing name ID format: Unspecified
    • Pass through all claim values

Configure the WS-Federation provider

After setting up the AD FS relying party trust, you can follow the steps in Configure a WS-Federation provider for portals.

See also

Configure a WS-Federation provider for portals with Azure AD