ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now

Alteryx Server Knowledge Base

Definitive answers from Server experts.

Configuring SAML on Alteryx Server for ADFS


Configuring SAML on Alteryx Server for Active Directory Federation Services (ADFS)


Alteryx Server has the ability to use most identity providers that support the SAML 2.0 standard, and from my testing, ADFS is no exception! The following information will assist with configuring Alteryx Server to be functional with ADFS.


Please note the following information is based on third-party software and processes may be slightly different on older or newer versions of the software. The following was created against ADFS v4.0 running on Windows Server 2016 and Alteryx Server 2019.2.




  • AD FS Server
    • Account with access to perform administration tasks
    • All users that will login must have an email address attribute
  • Alteryx Server >= 2018.2
    • Account with access to perform administration tasks
  • SSL/TLS Certificate Installed on Alteryx Server (Self-Signed certificate is not recommended)




  1. Verify that your Alteryx Server's Gallery function has been configured with SSL/TLS enabled on each Gallery node in the environment and that a proper SSL certificate is installed. Instructions are provided in the link above.
  2. This and following steps will require an ADFS administrator. Open the AD FD Management utility (Start > Windows Administrative Tools > AD FS Management)
  3. Click Relying Party Trusts from the console, then click Add Relying Party Trust...
  4. Click Enter data about the relying party manually and click Next.


  5. Type a Display name for the trust. I placed "Alteryx Server" here, but you can use a name that best identifies the connection for you, such as a server name or other easily identifiable name. Then click Next.


  6. Click Next on the Configure Certificate page.


  7. Check the box for Enable support for the SAML 2.0 WebSSO protocol. Type the URL of the Alteryx Server's SAML endpoint in the Relying party SAML 2.0 SSO service URL box, which typically will be the base URL of Alteryx Gallery with the addition of "/aas/Saml2". Once you have added the proper URL, click Next.

    Note: this endpoint may be case sensitive depending on settings in your environment. I would recommend entering it with the capitalization as shown in the screenshot and example below.

    Gallery URL:
    SAML Endpoint:


  8. In the Relying party trust identifier, type the same SAML endpoint as the previous step and click Add to add the URL to the list below. Click Next.


  9. Select Permit everyone from the Access Control Policy and click Next.

    You may wish to configure this option differently depending on the environment and whom you wish to be able to authenticate with Alteryx Gallery, or you may wish to setup Multi-Factor Authentication (MFA). Specific access permissions and these types of setup are outside the scope of this article.


  10. Click Next on the Ready to Add Trust page.


  11. Check the box next to Configure claims issuance policy for this application and click Close.


  12. Within the new Claim Issuance Policy window, click Add Rule...


  13.  Verify the Claim rule template is set to Send LDAP Attributes as Claims and click Next.


  14. Type a desired name for the rule within the Claim rule name box. From the Attribute store drop-down, choose Active Directory.
  15. Using the following table, set the appropriate options within the Mapping of LDAP attributes to outgoing claim types box. Click Finish.
    Note: The following outgoing values are case sensitive and will need to be typed except for "SAM-Account-Name".

    LDAP Attribute Outgoing Claim Type
    E-Mail-Addresses email
    Given-Name firstName
    Surname lastName
    SAM-Account-Name Name ID


  16. On the Claim Issuance Policy window, click Apply to apply the settings, then click OK.


  17. You will now need an administrator with access to the Alteryx Server machine(s) running the Gallery for your environment. Connect to the machine remotely via Remote Desktop.
  18. Open the Alteryx System Settings application, then click Next until you are at the Gallery > Authentication page.
  19. From the Authentication Type box, click the radio button next to SAML authentication. In the Select an option for obtaining metadata required by the IDP, click the radio button next to IDP Metadata URL.

    !Warning!: It is not recommended to change the authentication type once you have established the persistence layer (e.g. MongoDB) and started using a particular authentication method in your environment. Differences in user account structure will be likely to result in errors in the Gallery if the authentication method is changed in an established environment. If you are changing authentication methods, it is recommended to create a new persistence database!
  20. From the SAML IDP Configuration box, set the ACS Base URL to the root of the Gallery URL plus "/aas".

    Gallery URL:
    ACS Base URL:
  21. Set the IDP URL (also known as Entity ID) to the Federation Service identifier value from ADFS.


    Note: If you are not positive on the value for this, ask your ADFS administrator or download the metadata XML with the link you are using in the next step and look for the "entityID".

  22. Set the IDP Metadata URL to the location of the Federation Metadata xml file provided by the ADFS server.


    Note: If you are not positive on the value for this, ask your ADFS administrator.

  23. Click Verify IDP. If all goes well, you should receive a message similar to the following:


    Note: See the Common Issues section below for tips on troubleshooting!
  24. Click Next through the remainder of the System Settings dialogs, then click Finish.
  25. (Optional) Return to Step 17 if you have additional Gallery node(s) to configure.
  26. Once all Gallery node(s) are configured, attempt to access your private Alteryx Gallery and log in with your fresh new SAML configuration!


Common Issues


AlteryxAuthorizationService.exe has stopped working or there is a failure to set the Default Gallery Administrator
-Turn off IE Enhanced Security Configuration on the Alteryx Server if you have crash errors while verifying the IDP information. This feature can be turned back on once you have the configuration in a functional state.
-Verify that the values in the SAML IDP Configuration are correct for your ADFS server.
-Verify that the ADFS server was configured with the correct claim attributes.
-Check the AlteryxAuthorizatonService.exe logging directory (%PROGRAMDATA%\Alteryx\Logs) for any clues.
-Open Event Viewer within Windows and look for errors that may be of use in the Application log.

-If still stuck, reach out to our Support team. I'd suggest providing the following:
    1. Values set in the Alteryx System Settings application for SAML
    2. AAS log files (found in %PROGRAMDATA%\Alteryx\Logs\)
    3. Configuration screenshots for ADFS


Additional Resources


12 - Quasar
12 - Quasar

@MikeSp at it again... being the smartest guy I know.


Just in time! Mike