Set up single sign-on (SSO) using Active Directory Federation Services (AD FS) (2024)

Last updated: January 29, 2024

If you have a HubSpotEnterpriseaccount, you can set up single sign-on using Active Directory Federation Services (AD FS).

To use AD FS to log in to your HubSpot account, you must meet the following requirements:

  • All users in your Active Directory instance must have an email address attribute.
  • You are using a HubSpot Enterprise account.
  • You have a server running Windows Server 2008, 2012, or 2019.

Please note:this setup process should be done by an IT administrator with experience creating applications in your identity provider account. Learn more aboutsetting up SSO with HubSpot.

Before you begin

Before you begin, take note of the following two values from your HubSpot account to set up SSO using Microsoft AD FS:

  • Log in to your HubSpot account.
  • In your HubSpot account, click the settings settings icon in the top navigation bar.
  • On the left sidebar, clickAccount Defaults.
  • Click theSecurity tab.
  • ClickSet up Single Sign-on.
  • In theSet up Single sign-onslide-in panel, clickMicrosoft AD FS.
  • Take note of both theAudience URI (Service Provider Entity ID)andSign on URL, ACS, Recipient, or Redirect values as you will need to add them to Microsoft AD FS in the setup process.

Set up single sign-on (SSO) using Active Directory Federation Services (AD FS) (1)

1.Add a Relying Party Trust (RPT)

Open your Active Directory Federation Services (AD FS) manager:

  • In yourAD FSmanager, open theRelying Party Trusts (RPT)folder.
  • In the right sidebar menu, selectAdd Relying Party Trust....
  • In theAdd Relying Party Trust Wizarddialog box, clickStartto add a new RPT.
  • On theSelect Data Sourcescreen, selectEnter data about the relying party manually.
  • ClickNext >.
  • In theDisplay namefield, enter a name for your trust - this is for internal purposes, so make sure you name it something that you can easily recognize.
  • ClickNext >.
  • On theConfigure Certificatescreen, leave the default settings as they are, then clickNext >.
  • Select theEnable Support for the SAML 2.0 WebSSO protocolcheckbox. In theRelying party SAML 2.0 SSO service URL field, enter theSign on URL, ACS, Recipient or Redirect URL from your HubSpot account.
Set up single sign-on (SSO) using Active Directory Federation Services (AD FS) (2)
  • ClickNext >.
  • In theRelying party trust identifierfield:
    • Enter theAudience URI (Service Provider Entity ID) value from your HubSpot account.
    • Enter https://api.hubspot.com, thenclickAdd.
  • ClickNext >.
  • In theChoose an access control policywindow, selectPermit everyone, then clickNext >.
  • Review your settings, then clickNext >.
  • ClickClose.

2. Create claims rules

Before setting up your claims rule, make sure that your users' email addresses match their HubSpot user email addresses. You can use other identifiers, such as the User Principal Name (UPN), if your UPNs are in the form of an email address. In order for single sign-on with AD FS to work, the nameID needs to be in the form of an email address in order to match with a HubSpot user.

  • In the Claims Rulewindow, clickAdd Rule.
  • Click the Claim rule templatedropdown menu and select Send LDAP Attributes as Claims.
  • ClickNext >.
  • On theConfigure Claim Rulescreen:
    • In the Claim rule namefield, enter a rule name.
    • Click theAttribute storedropdown menu and selectActive Directory.
    • In the Mapping of LDAP attributestable, map the following:
      • In the LDAP Attributecolumn, click thedropdown menuand selectEmail Addresses.
      • In the Outgoing ClaimTypecolumn, click thedropdown menuand selectEmail Address.Set up single sign-on (SSO) using Active Directory Federation Services (AD FS) (3)
  • ClickFinish.

Next, set up the Transform an Incoming Claim rule:

  • ClickAdd Rule.
  • Click theClaim rule template dropdown menuand selectTransform an Incoming Claim.
  • ClickNext >.
  • On theConfigure Claim Rulescreen:
    • Enter a claim rule name.
    • Click theIncoming claim typedropdown menu and selectE-Mail Address.
    • Click theOutgoing claim typedropdown menu and selectName ID.
    • Click theOutgoing name ID formatdropdown menu and selectEmail.
    • ClickFinishto add the new rule.
  • ClickOKto add both new rules.

3. Adjust the trust settings

In the Replying Party Trusts folder, select Properties from theActionssidebar menu. Click theAdvancedtab and make sureSHA-256is specified as the secure hash algorithm. Though both SHA-256 and SHA-1 are supported, SHA-256 is recommended.

4. Locate your PEM format x509 certificate

To access your PEM format x509 certificate:

  • Navigate totheAD FSmanagement window. In the left sidebar menu, navigate to Services>Certificates.
  • Locate theToken signingcertificate. Right-click the certificate and selectView Certificate.Set up single sign-on (SSO) using Active Directory Federation Services (AD FS) (4)
  • In the dialog box, click theDetailstab.
  • ClickCopy to File.
  • In theCertificate Export Windowthat opens, clickNext.
  • SelectBase-64 encoded X.509 (.CER), then clickNext.
  • Give your file export a name, then clickNext.
  • ClickFinishto complete the export.
  • Locate the file you just exported and open it using a text editor, such as Notepad.
  • Copy the contents of the file.

5. Complete your set up in HubSpot

  • Log in to your HubSpot account.
  • In your HubSpot account, click the settings settings icon in the top navigation bar.
  • On the left sidebar, clickAccount Defaults.
  • Click theSecurity tab.
  • ClickSet up Single Sign-on.
  • In theSet up Single sign-onslide-in panel, clickMicrosoft AD FS.
  • Paste the contents of the file into the X.509 Certificatefield.
  • Return to your AD FS manager.
  • In the left sidebar menu, select theEndpointsfolder.
  • Search for SSO service endpoint and the entity URL. The SSO service URL usually ends in “adfs/services/ls” and the entity URL ends in “adfs/services/trust”.
  • Return to HubSpot. In theIdentity provider Identifier or Issuerfield, enter the entity URL.
  • In theIdentity Provider Single Sign-On URLfield, enter the SSO service URL.
  • ClickVerify.

Set up single sign-on (SSO) using Active Directory Federation Services (AD FS) (5)

Please note: if you receive an error when configuring single sign-on in HubSpot, check your event viewer logs on your device for the error message. If you are not able to troubleshoot the error message, contact HubSpot Support.

Set up single sign-on (SSO) using Active Directory Federation Services (AD FS) (2024)
Top Articles
Guide for Yakuza Kiwami - Minigames
The “Dirtiest” X-File Ever Leaked: The List That Victimized 99 Korean Celebrities
No Hard Feelings (2023) Tickets & Showtimes
Palm Coast Permits Online
Instructional Resources
The Definitive Great Buildings Guide - Forge Of Empires Tips
Crocodile Tears - Quest
Fully Enclosed IP20 Interface Modules To Ensure Safety In Industrial Environment
Santa Clara College Confidential
Comcast Xfinity Outage in Kipton, Ohio
Stl Craiglist
Nestle Paystub
Student Rating Of Teaching Umn
3656 Curlew St
What Happened To Maxwell Laughlin
Top tips for getting around Buenos Aires
Jalapeno Grill Ponca City Menu
Schedule 360 Albertsons
Google Doodle Baseball 76
Fort Mccoy Fire Map
Never Give Up Quotes to Keep You Going
Roane County Arrests Today
TeamNet | Agilio Software
Urban Dictionary Fov
Cognitive Science Cornell
When His Eyes Opened Chapter 3123
Skidware Project Mugetsu
Lindy Kendra Scott Obituary
Greater Orangeburg
The Rise of "t33n leaks": Understanding the Impact and Implications - The Digital Weekly
Here’s how you can get a foot detox at home!
M3Gan Showtimes Near Cinemark North Hills And Xd
Prima Healthcare Columbiana Ohio
New Gold Lee
D3 Boards
Giantess Feet Deviantart
3302577704
7543460065
When His Eyes Opened Chapter 2048
Merkantilismus – Staatslexikon
Compare Plans and Pricing - MEGA
Wo ein Pfand ist, ist auch Einweg
BCLJ July 19 2019 HTML Shawn Day Andrea Day Butler Pa Divorce
Headlining Hip Hopper Crossword Clue
18 Seriously Good Camping Meals (healthy, easy, minimal prep! )
Definition of WMT
Craigslist Psl
Free Carnival-themed Google Slides & PowerPoint templates
Best brow shaping and sculpting specialists near me in Toronto | Fresha
Phumikhmer 2022
Vt Craiglist
Stone Eater Bike Park
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 5752

Rating: 4.8 / 5 (78 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.