1
votes

I recently secured my azure functions by Azure Active Directory. Hence you need access token set in auth header to enable you to call them. I am successfully able to do that from my Front end Angular apps. But in my backend I have Azure Data factory as well, How can i enable Azure Data factory to use Azure AD while calling functions and not host key?

2

2 Answers

0
votes

You can use the web activity to get the bearer token and then pass this to the subsequent calls .

0
votes

Azure Data Factory supports Managed Identity:

Managed identity for Data Factory

When creating a data factory, a managed identity can be created along with factory creation. The managed identity is a managed application registered to Azure Activity Directory, and represents this specific data factory.

Managed identity for Data Factory benefits the following features:

  • Store credential in Azure Key Vault, in which case data factory managed identity is used for Azure Key Vault authentication.
  • Connectors including Azure Blob storage, Azure Data Lake Storage Gen1, Azure Data Lake Storage Gen2, Azure SQL Database, and Azure SQL Data Warehouse.
  • Web activity.