ADF Pipeline - Get the resource group using Management API doesn't work

Ramamoorthy, Kesavan 61 Reputation points
2021-03-17T10:28:18.923+00:00

Hi Experts,

Inside ADF(V2) pipeline, I am trying to get the resource group by calling the management API with Web activity as below but it is not listing the resource groups available under my subscription; the output "value" is blank array as shown in pic below. Am I doing something wrong here ?

Is there any other easy way of getting the resource group attached to this ADF inside the pipeline activity similar to what we have for system variables like pipeline().DataFactory...I need to capture the resource group of my ADF inside the pipeline SetVariable activity

https://management.azure.com/subscriptions/<mysubscriptionid>/resourcegroups?api-version=2020-06-01

78708-image.png

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.