Is it possible to disable the GIT configuration in Azure Data Factory without using the ADF portal?

Reyes Monsalve, Ruben Dario 26 Reputation points
2023-05-23T19:26:05.48+00:00

Is it possible to disable the GIT configuration in Azure Data Factory without using the ADF portal?

I found that that using power shell I can retrieve and update the values of the repository settings, but it does not allowed me to disable it.

Any Ideas?

https://learn.microsoft.com/en-us/powershell/module/az.datafactory/get-azdatafactoryv2?view=azps-9.7.1

https://learn.microsoft.com/en-us/powershell/module/az.datafactory/set-azdatafactoryv2?view=azps-9.7.1

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

1 answer

Sort by: Most helpful
  1. Samy Abdul 3,366 Reputation points
    2023-05-24T04:49:41.6533333+00:00

    Hi @Reyes Monsalve, Ruben Dario, through CLI you might be able to do it. There are list of commands to get the list of data factories

    Azure CLICopy

    az datafactory list [--resource-group
    
    
    
    
    az datafactory update [--factory-name]
                          [--ids]
                          [--resource-group]
                          [--subscription]
                          [--tags]--disable
    

    https://learn.microsoft.com/en-us/cli/azure/datafactory?view=azure-cli-latest#az-datafactory-update

    https://learn.microsoft.com/en-us/cli/azure/datafactory?view=azure-cli-latest#az-datafactory-list Thanks