Steps: Configure SAML SSO Using MS-AD FS 3.0
Provides instructions for configuring
Adaptive Planning
to accept SAML SSO tokens from your instance of Microsoft Active Directory Federation Services 3.0 (MS AD FS 3.0). In SAML terms, your instance of MS AD FS is an identity provider and Adaptive Planning
is a service provider. After completing these steps, you will have configured a identity provider initiated SSO login from your MS AD FS 3.0 instance to Adaptive Planning
.Prerequisites
- A computer that:
- Has Windows Server 2008 R2 or RelayState parameter enabled. SeeMS AD FS 3.0 RelayStatefor more information.
- Is included within a domain
- AnAdaptive Planningaccount with administrative permissions
- A confirmation email fromAdaptive Planningstating that SAML has been provisioned on your instance
- A certification authority verified token signing certificate
To export the MS AD FS token signing certificate:
- Go toMS AD FS Management Consol > Service > Certificates.
- In the certificates list, right-clickToken-Signing, andthen clickView Certificate.
- Go to theDetailstab and clickCopy to File...
- When theCertificate Export Wizardappears, clickNext.
- SelectDER encoded binary X.509 (.cer),and clickNext.
- Select a directory to save the file, name it, and clickNext.
- ClickFinish.
This document uses ADFS_HOST as a placeholder in text to refer to the MS AD FS website. Replace that with your MS AD FS 3.0 Web site address. The screenshots show the address of the test server.
MS AD FS 3.0 RelayState
Identity-provider-initiated SSO by following these steps:
- For ADFS 3.0, open the following file in Notepad:%systemroot%\ADFS\Microsoft.IdentityServer.Servicehost.exe.config
- In themicrosoft.identityServer.websection, add a line foruseRelayStateForIdpInitiatedSignOnas follows, and save the change:<microsoft.identityServer.web>...<useRelayStateForIdpInitiatedSignOn enabled="true" /></microsoft.identityServer.web>
- Save the file.
- Restart the Active Directory Federation Services (adfssrv) service.
Configuring Adaptive Planning as a Relying Party
Adaptive Planning
as a Relying PartyA relying party is a web application or web service that relies on claims, which are extracted from tokens issued by an STS (Security Token Service). Adaptive Planning is the relying party and your MS AD FS 3.0 instance is an STS.
- Navigate to the MS AD FS 3.0 Management console.
- ClickMS AD FS 3.0and expandTrust Relationships.
- Right-clickRelying Party Trustsand clickAdd Relying Party Trust.
- On the Select Data Source page, selectEnter data about the relying party manually, and clickNext.
- Specify any appropriate name for the display name. Example: AdaptivePlanning. Enter the notes if any and clickNext.
- SelectAD FS profile.
- Skip the Configure Certificate step.
- Set up theAdaptive PlanningSSO URL which you will get from the SAML Settings screen inAdaptive Planning. Example:https://login.adaptiveplanning/samlsso/R0xPQk8==
- On theConfigure Identifierspage, enterthe URL from the SAML Settings screen inAdaptive Planningas the identifier and clickAdd.
- On the next page, selectPermit all users access to this relying party(selectDenyif you want to assign this application to specific users later) and clickNext.
- On theReady to Add Trustpage, clickNext.
- On theFinishpage, clearOpen the Edit Claims Rules dialog for this relying party trust when the wizard closes,and clickClose.
Configuring Claim Rules
You will create some sample claim rules. You can choose to change the claim rules to satisfy your requirements for SAML authentication.
- Sample Claim Rule #1
- In this claim rule, theEmail-Addressvalue of a user will be sent as an attribute statement in the SAML response. You can use any LDAP attribute in the SAML token as long as that attribute uniquely identifies each user. Similarly, for the Outgoing Claim Type, choose one from the list or type in the name.
- Right-click theAdaptivePlanningentry in theRelying Party Trustslist and selectEdit Claim Rules.
- ClickAdd Rulefrom theIssuance Transform Rulestab.
- SelectSend LDAP Attribute as ClaimsfromClaim Ruletemplate drop-down.
- ClickNext.
- Give the claim a name likeEmail as Claim.
- Set theAttribute Storefield to Active Directory, theLDAP Attributeto Email-Addresses, and theOutgoing Claim Typeto Email Address.
- ClickFinish.
- SAML attribute:If you configured only one Claim Rule #1, then to enter Outgoing Claim Type from Claim Rule #1.
- To find the Outgoing Claim type, go to ADFS Management console.
- Click on Service > Claim Descriptions
- Right click on Claim type you are using and click properties.
- Copy the value inClaim Typeand paste in the SAML attribute name. It might look like "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" or the short name that you might have typed.
- Sample Claim Rule #2
- In this claim rule, we will send the email address configured in Claim Rule #1 as theNameIDof the subject.
- ClickAdd Rule.
- SelectTransform an Incoming Claimas the claim rule template to use.
- Give it a name. In this example, we are usingEmail Address to Name ID.
- The incoming claim type should beE-mail Address (OR it must match the outgoing claim type used in Sample Claim Rule #1).
- SetOutgoing claim typetoName IDandOutgoing name ID formattoEmail.
- SelectPass through all claim values.
- ClickFinish.
This rule will send the E-mail-Address value of a user as the NameID of the subject with the formaturn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress.
Setting up MS AD FS as Identity Provider in Adaptive Planning
Adaptive Planning
In this section, you will configure your Adaptive Planning instance to accept SAML/SSO tokens from your MS AD FS 3.0 installation. The steps in this section use the sample claim rules described above; if you have created different rules, you will need to alter these instructions accordingly.
- Log in to your Adaptive Planning instance as a user with User Administrator permissions.
- Go toAdmin > SAML SSO Settings.
- Enter the following settings:
- Identity provider name:Enter your MS AD FS 3.0 server name here.
- Identity provider Entity ID:Enter the value found on the FS Server MS AD FS 3.0 Management Console. To find this, right-clickService,clickEdit Federation Services Properties, and copy the value fromFederation Service Identifierfield.
- Identity provider single sign-on URL:Enter the URL similar to (this is the URL from MS AD FS side to directly log in to Adaptive Planning):https://ADFS_HOST/adfs/ls
- Custom logout URL: Optional. Enter a URL to load when the user clicksLogoutfrom Adaptive Planning. If a URL is not specified, the Adaptive Planning login page is used.
- Identity Provider Certificate:Select the certificate file described in the Prerequisites.
- SAML user ID type: Select the user's federation ID. If you set up your claim rule to use the user's email address and that address is the same as the login field on the user's profile, you can selectUser's Adaptive Planning user name for SAML User ID.
- SAML user ID location:If you only configured Sample Claim Rule #1 in the claim rules of the relying party, then selectUser ID in Attribute.If you configured Sample Claim Rule #2, then selectUser IDforNameID of Subject.
- SAML attributeandSAML NameID format:You only need to enter one of these. If you only configured Sample Claim Rule #1, fill in the SAML attribute field with the outgoing claim type from Sample Claim Rule #1 and leave theSAML NameIDformat field blank. If you configured both sample claim rules, you can skip theSAML attributefield and fill in theSAML NameIDfield with the outgoing name ID format from Sample Claim Rule #2 (Email).
- Enable SAML:SelectNot Enabled(this is the default value). After testing the configuration, return to this screen and enable SAML for other users.
- ClickSave.The Admin overview displays.
- Go back to theSAML SSO Settings page to verify that the settings were saved successfully. Verify the issuer and validity of the identity provider certificate.
- Look for Adaptive PlanningSSO URLat the bottom of the page, and copy the entire string value. Save this value as you will need it in the next section.
Completing the Configuration of the MS AD FS Relying Party
In this section, we will complete the MS AD FS relying party setup, which you started in
Configuring Adaptive Planning as a Relying Party
.- Navigate back to your MS AD FS 3.0 administration console.
- Right-clickAdaptivePlanningin theRelying Party Trustslist and selectProperties.
- Click theEndpointstab and clickAdd.
- SetEndpoint TypetoSAML Assertion Consumer.
- SetBindingtoPOST.
- Paste the value of the Adaptive Planning SSO URL into theURLfield. Note that you copied the URL in the stepSetting up MS AD FS as Identity Provider in Adaptive Planning.
- ClickOKand clickApplyin the properties dialog.
Testing the Setup
Test the SAML/SSO login from MS AD FS 3.0 into Adaptive Planning.
- Select a user on the MS AD FS side and the Adaptive Planning side. TheAdaptive Planninguser must have a SAML Admin permission.
- Enter the email address (or the LDAP attribute selected in Claim Rule #1) in MS AD FS for that user.
- From Adaptive Planning, enter the email address (possibly the same value) in theSAML Federation IDfield for the user on theAdmin > Edit Userpage.
- Log that AD FS user into a computer that is part of the Active Directory domain.
- Within a web browser on that computer, visitIf your instance uses non-US based, regional authentication, then your authorization URLs and API endpoints vary based on your region. See Reference: Regional Authentication URLs.
- If everything is configured correctly, you will be redirected to the Adaptive Planning welcome page. Enter the username but leave the password field blank on the login page. ClickSubmit.
After successfully testing your setup, you can enable SAML SSO for your users. See Enabling SAML SSO for all Users in Adaptive Planning.
SSO Into Excel Interface for Planning and OfficeConnect
After you've successfully configured and tested SAML SSO,
Excel Interface for Planning
and OfficeConnect
users can
sign in using only their usernames. They can leave the password field blank.