Alex Wang
Alex Wang

Reputation: 113

how to set variable for"set variable" activity in data factory

firstly I create a web activity to get keyvault,and then create a "set variable" activity. when I try to create variable in the "set variable" activity, it shows "no results found". BTW I cannot attach screenshot due to less reputation . I refer to this doc to do execution

attached the screenshot enter image description here

Upvotes: 1

Views: 784

Answers (1)

Joseph  Xu
Joseph Xu

Reputation: 6043

Update:
You should declare a variable first by click blank, then you can select a variable at step3: enter image description here


After you added ADF managed identity permissions to Get and List secrets.

  1. Add a secret to the key valut. Here my secret name is mysecret.
    enter image description here

  2. So your URL should looks like https://your-keyvault-name.vault.azure.net/secrets/mysecret?api-version=7.0
    enter image description here

  3. Add dynamic content @activity('Web1').output.value to your Set variable1 activity.
    enter image description here

Upvotes: 1

Related Questions