Azure / Azure/Azure-DataFactory

Pass Authorization header to Odata connector in Pipeline

Open
#642 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
529
Forks
623
PR merge metrics
No merged PRs in 30d

Description

I have created a pipeline with below connectors.

1. Web request -> Gets the toekn and passed to next connector ( Copy activity)
2. Copy Activity
a. Source: OData connector
b. Destination: SQL Servr

I need to pass token from the **web request** connector output to Copy Activity command. How can I access and pass?

I tried below approach but there is no luck.
@concat('Bearer ', activity('GetToken').output.id_token)

I dont see an option to pass the value in the UI of Copy activity.

![image](https://github.com/Azure/Azure-DataFactory/assets/18113877/7dfa5bbc-83ff-4115-a3ad-8782a9f0b71c)

Also, I can't pass dynamic value on Odata connector.

![image](https://github.com/Azure/Azure-DataFactory/assets/18113877/e760c048-f370-4747-a69b-f383197d0e5c)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.