Azure / Azure/azure-cli-extensions
az datafactory repository configuration resolves to git path when executed from bash
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
- If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at [Azure/azure-cli](https://github.com/Azure/azure-cli/issues)
### Extension name (the extension in question)
datafactory
### Description of issue (in as much detail as possible)
az datafactory factory create -n $factory -g $rg --factory-vsts-configuration account-name="***" collaboration-branch="master" last-commit-id="???" project-name="***" repository-name="***" root-folder="/" tenant-id="***"
```
{
"additionalProperties": null,
"createTime": "2021-01-29T13:34:03.837108+00:00",
"eTag": "\"00009795-0000-0d00-0000-60265cd90000\"",
"globalParameters": null,
"id": "/subscriptions/***/resourceGroups/lb-dev-logistiekinfo/providers/Microsoft.DataFactory/factories/***",
"identity": {
"principalId": "***",
"tenantId": "***"
},
"location": "westeurope",
"name": "***",
"provisioningState": "Succeeded",
"repoConfiguration": {
"accountName": "###",
"collaborationBranch": "master",
"lastCommitId": "refs/heads/adf_publish",
"projectName": "###",
"repositoryName": "###,
"rootFolder": "C:/Program Files/Git/",
"tenantId": "***",
"type": "FactoryVSTSConfiguration"
},
"resourceGroup": "###",
"tags": {},
"type": "Microsoft.DataFactory/factories",
"version": "2018-06-01"
}
```
See the `rootFolder` property.
We worked around this by using this: `root-folder=''`
Contributor guide
Assessment
This issue has not been assessed yet.