403 Forbidden error connecting to third party from Azure

Kumar, Arun 336 Reputation points


I am making a Web call from Azure to a third party site to get the refresh and access token. The third party site is hosted on AWS. Tried various ways but getting a 403 Forbidden error, but it works fine in Postman. Below my pipe line


Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,671 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,326 Reputation points Microsoft Employee

    Hi @Kumar, Arun ,

    Thank you for posting query in Microsoft Q&A Platform.

    When you use postman, you are running it from your local and your local machine may be within the allowed network of API hence it works. When you use web activity in ADF or Synapse Pipeline, try to use the IR from the network which has access to the network of your API. I would suggest have selfhosted IR installed in your local or in the machine which has access to your API and use same in web activity.


    Please check below link to know about selfhosted IR.
    Setting up Self Hosted Integration runtime in Azure Data Factory

    Hope this helps. Please let me know if any further queries.

    Please consider hitting Accept Answer button. Accepted answers help community as well.