Events
Apr 9, 3 PM - Apr 10, 12 PM
Code the Future with AI and connect with Java peers and experts at JDConf 2025.
Register NowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In this article, you learn how to integrate HubSpot with Microsoft Entra ID. When you integrate HubSpot with Microsoft Entra ID, you can:
The scenario outlined in this article assumes that you already have the following prerequisites:
In this article, you configure and test Microsoft Entra single sign-on in a test environment and integrate HubSpot with Microsoft Entra ID.
HubSpot supports the following features:
To configure the integration of HubSpot into Microsoft Entra ID, you need to add HubSpot from the gallery to your list of managed SaaS apps.
Alternatively, you can also use the Enterprise App Configuration Wizard. In this wizard, you can add an application to your tenant, add users/groups to the app, assign roles, and walk through the SSO configuration as well. Learn more about Microsoft 365 wizards.
Configure and test Microsoft Entra SSO with HubSpot using a test user called B.Simon. For SSO to work, you need to establish a link relationship between a Microsoft Entra user and the related user in HubSpot.
To configure and test Microsoft Entra SSO with HubSpot, perform the following steps:
Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.
Browse to Identity > Applications > Enterprise applications > HubSpot application integration page, find the Manage section and select Single sign-on.
On the Select a Single sign-on method page, select SAML.
On the Set up Single Sign-On with SAML page, select the pencil icon for Basic SAML Configuration to edit the settings.
In the Basic SAML Configuration pane, to configure IDP-initiated mode, perform the following steps:
In the Identifier box, enter a URL that has the following pattern: https://api.hubspot.com/login-api/v1/saml/login?portalId=<CUSTOMER ID>.
In the Reply URL box, enter a URL that has the following pattern: https://api.hubspot.com/login-api/v1/saml/acs?portalId=<CUSTOMER ID>.
Note
To format the URLs, you can also refer to the patterns shown in the Basic SAML Configuration pane.
To configure the application in SP-initiated mode:
Select Set additional URLs.
In the Sign on URL box, enter https://app.hubspot.com/login.
In the Set up Single Sign-On with SAML pane, in the SAML Signing Certificate section, select Download next to Certificate (Base64). Select a download option based on your requirements. Save the certificate on your computer.
In the Set up HubSpot section, copy the following URLs based on your requirements:
Follow the guidelines in the create and assign a user account quickstart to create a test user account called B.Simon.
Open a new tab in your browser and sign in to your HubSpot administrator account.
Select the Settings icon in the upper-right corner of the page.
Select Account Defaults.
Scroll down to the Security section, and then select Set up.
In the Set up single sign-on section, perform the following steps:
In the Audience URl (Service Provider Entity ID) box, select Copy to copy the value. In the Azure portal, in the Basic SAML Configuration pane, paste the value in the Identifier box.
In the Sign on URL, ACS, Recipient, or Redirect box, select Copy to copy the value. In the Azure portal, in the Basic SAML Configuration pane, paste the value in the Reply URL box.
In HubSpot, in the Identity Provider Identifier or Issuer URL box, paste the value for Microsoft Entra Identifier that you copied.
In HubSpot, in the Identity Provider Single Sign-On URL box, paste the value for Login URL that you copied.
In Windows Notepad, open the Certificate(Base64) file that you downloaded. Select and copy the contents of the file. Then, in HubSpot, paste it in the X.509 Certificate box.
Select Verify.
To enable Microsoft Entra ID a user to sign in to HubSpot, the user must be provisioned in HubSpot. In HubSpot, provisioning is a manual task.
To provision a user account in HubSpot:
Sign in to your HubSpot company site as administrator.
Select the Settings icon in the upper-right corner of the page.
Select Users & Teams.
Select Create user.
In the Add email address(es) box, enter the email address of the user in the format brittasimon@contoso.com, and then select Next.
In the Create users section, select each tab. On each tab, set the relevant options and permissions for the user. Then, select Next.
To send the invitation to the user, select Send.
Note
The user is activated after the user accepts the invitation.
In this section, you test your Microsoft Entra single sign-on configuration with following options.
Select Test this application, this option redirects to HubSpot Sign on URL where you can initiate the login flow.
Go to HubSpot Sign-on URL directly and initiate the login flow from there.
You can also use Microsoft My Apps to test the application in any mode. When you select the HubSpot tile in the My Apps, if configured in SP mode you would be redirected to the application sign on page for initiating the login flow and if configured in IDP mode, you should be automatically signed in to the HubSpot for which you set up the SSO. For more information about the My Apps, see Introduction to the My Apps.
Once you configure HubSpot you can enforce Session control, which protects exfiltration and infiltration of your organization’s sensitive data in real time. Session control extends from Conditional Access. Learn how to enforce session control with Microsoft Defender for Cloud Apps.
Events
Apr 9, 3 PM - Apr 10, 12 PM
Code the Future with AI and connect with Java peers and experts at JDConf 2025.
Register NowTraining
Module
Implement and monitor the integration of enterprise apps for SSO - Training
Deploying and monitoring enterprise applications to Azure solutions can ensure security. Explore how to deploy on-premises and cloud based apps to users.
Certification
Microsoft Certified: Identity and Access Administrator Associate - Certifications
Demonstrate the features of Microsoft Entra ID to modernize identity solutions, implement hybrid solutions, and implement identity governance.