How to connect to HubSpot using REST connector with OAuth2.0 Authorization Code authentication

Maryna Paluyanava 131 Reputation points
2024-01-26T13:46:28.6233333+00:00

Hello,

I'm trying to connect to HubSpot that requires an access token (OAuth2 Authorization Code) https://developers.hubspot.com/docs/api/oauth-quickstart-guide?uuid=228abf82-a04a-43e3-a4fb-d27edd815e0f.

Could you please tell me if there is possibility to create a REST linked service with OAuth2 Authorization Code authentication type?
We used REST linked service with OAuth2 Client Credentials authentication type for another app and it worked great.

Thanks

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,062 questions
{count} votes

1 answer

Sort by: Most helpful
  1. BhargavaGunnam-MSFT 23,686 Reputation points Microsoft Employee
    2024-01-26T20:16:33.4433333+00:00

    Hello Maryna Paluyanava,

    ADF has a native Hubspot connector. You can reference the below document for more details.

    https://learn.microsoft.com/en-us/azure/data-factory/connector-hubspot?tabs=data-factory#create-a-linked-service-to-hubspot-using-ui

    from the below hubsport community forum, HubSpot APIs support OAuth/Hapikey. The OAuth authentication request an access token to authenticate the application on a particular portal ID.

    https://community.hubspot.com/t5/APIs-Integrations/Oauth-2-client-credentials/m-p/341256

    https://learn.microsoft.com/en-us/azure/data-factory/connector-rest?tabs=data-factory

    I hope this helps.

    1 person found this answer helpful.
    0 comments No comments