How to Configure SAML SSO with ADFS
Overview
This article explains how to configure Active Directory Federation Services (AD FS) as an identity provider (IdP) for the Cisco Meraki dashboard.
The steps cover an example of creating the necessary integration with dashboard. Exact implementation may differ based on your environment and Active Directory implementation. However, you must provide the username and role attributes described in this article in the SAML assertion/token.
Use the pictures and configuration steps in this article only as a guideline, as attribute names may have changed with Windows Server updates.
Prerequisites
Before you begin, ensure the following:
- Install and complete basic configuration of Active Directory and Federation Services.
- Read the article on SAML integration for Dashboard before proceeding.
- For additional information on configuring AD FS, refer to Microsoft's deployment guide.
Step-by-step instructions
Create a relying party trust
-
Open the AD FS management console: go to Start > Administrative Tools > AD FS 2.0 Management.
-
Select the top-level folder (AD FS 2.0), then choose Add Relying Party Trust from the Actions menu.

-
Select Start to begin configuring a relying party trust for Dashboard.
-
Choose Enter data about the relying party manually, then select Next.

-
Enter a Display name, which appears in the management console and to users connecting to Dashboard. Then select Next. This example uses "Meraki Dashboard".

-
Choose AD FS 2.0 profile, then select Next.

-
Skip the Configure Certificate step by selecting Next.
-
Check the box to Enable support for the SAML 2.0 WebSSO protocol.
-
In the text field, enter the Consumer URL from Dashboard under Organization > Settings > SAML Configuration. If you do not yet have a Consumer URL, first follow the steps for generating a fingerprint in the Configure Dashboard settings section.
-
Select Next.

-
For the Relying party trust identifier, enter "https://dashboard.meraki.com". Then select Add and Next. AD FS requires the value of this field, but does not use it.

-
Choose default issuance authorization rules based on your preferred security behavior. This example uses Permit all users to access this relying party. Then select Next. If you choose to deny users by default, add explicit authorization rules later. This article does not cover those steps.

-
Ensure the box to Open the Edit Claim Rules dialog... is checked, then select Close.

Configure the username attribute
-
In the Edit Claim Rules dialog, under the Issuance Transform Rules tab, select Add Rule.

-
For Claim rule template, choose Send LDAP Attributes as Claims, then select Next.

-
Configure a SAML attribute for usernames:
-
Set the Claim rule name as "Username".
-
Set the Attribute store as Active Directory.
-
Select the LDAP Attribute that AD FS sends to Dashboard as the username. Because this appears in multiple locations and should be unique to each user, select E-Mail-Addresses or another unique characteristic.
-
Set the Outgoing Claim Type to "https://dashboard.meraki.com/saml/attributes/username".
-
Select Finish.

Configure the role attribute
-
In the Edit Claim Rules dialog, under the Issuance Transform Rules tab, select Add Rule.
-
For Claim rule template, choose Send Group Membership as a Claim.

-
Configure a SAML attribute for roles:
-
Set the Claim rule name to "Role".
-
Select Browse to select a group that should receive this role.
-
Set the Outgoing claim type to "https://dashboard.meraki.com/saml/attributes/role".
-
In Outgoing claim value, enter the value for a Role created in dashboard under Organization > Administrators > SAML administrator roles. The role value in the attribute must match a role in Dashboard for the user to gain access.
-
Select Finish.


Configure Dashboard settings
-
In the management console, go to AD FS 2.0 > Service > Certificates.

-
Double-click the certificate under Token-signing.

-
Under Details > Thumbprint, copy this string and paste it into the X.509 cert SHA1 fingerprint field in Dashboard under Organization > Settings > SAML Configuration.

-
Replace any spaces with colons.
-
Use all capital letters. Otherwise, Dashboard returns the error "the Fingerprint needs to be a colon-delimited hex value".

(Optional) To redirect users back to the AD FS login page after they log out of Dashboard:
-
In Dashboard, go to Organization > Settings > SAML Configuration.

-
In the SLO logout URL, enter "https://<SERVER_URL>/adfs/ls/idpinitiatedsignon.aspx". Replace "<SERVER_URL>" with the IP address or DNS name of the AD FS server.
-
Select Save Changes.
Verification
After completing configuration, users authenticating with AD FS can select "Meraki dashboard" as a site to sign into.

To confirm success, verify that a user can select Meraki dashboard and sign in without error.
Troubleshooting
If users cannot connect to Dashboard and receive an error, ensure that:
- You created claim rules for the username and role attributes as described above.
- You created the desired SAML administrator role in Dashboard.
- The user is allowed to use the application, based on any authorization rules configured in AD FS.
For recent login attempts and resulting errors, go to Organization > Administrators > SAML administrator roles > SAML login history.
Additional resources
- SAML Login History Error Messages — for help resolving possible error messages.
- Managing administrative users — for more information on Dashboard permissions and administrator types.

